Re: [PATCH nf-next v4 2/2] nf_set_hooks_head: accommodate different kconfig

2016-09-30 Thread Pablo Neira Ayuso
On Wed, Sep 28, 2016 at 11:35:15AM -0400, Aaron Conole wrote: > When CONFIG_NETFILTER_INGRESS is unset (or no), we need to handle > the request for registration properly by dropping the hook. This > releases the entry during the set. Also applied. I have renamed the subject to: netfilte

[PATCH nf-next v4 2/2] nf_set_hooks_head: accommodate different kconfig

2016-09-28 Thread Aaron Conole
When CONFIG_NETFILTER_INGRESS is unset (or no), we need to handle the request for registration properly by dropping the hook. This releases the entry during the set. Fixes: e3b37f11e6e4 ("netfilter: replace list_head with single linked list") Signed-off-by: Aaron Conole --- net/netfilter/core.c