]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitfb884253a919148677c5bf347ffb62c539370440
tree6b0e42ee360057722bb51cce84ade1e2eaae403c
parenta2f23e08b0861bd17109c1add000c4125a6c2dbc
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