]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: Remove !CONFIG_NETFITLER definition of nf_hook_thresh
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 16 Sep 2015 01:03:49 +0000 (20:03 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Sep 2015 00:18:32 +0000 (17:18 -0700)
commitf87fccb880dc8eb21135184440d3d281f02dff17
tree6b0e42ee360057722bb51cce84ade1e2eaae403c
parent2661c772a4755d0875aa45c9f0f9bff0d293c6f0
netfilter: Remove !CONFIG_NETFITLER definition of nf_hook_thresh

The !CONFIG_NETFILTER definition of nf_hook_thresh calls okfn when
the CONFIG_NETFITLER defintion does not, making it buggy.

As the !CONFIG_NETFILTER defintion of nf_hook_thresh is not used remove
it rather than fix it.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netfilter.h