commit | 7816ec564ec40ae20bb7925f733a181cad0cc491 | [log] [tgz] |
---|---|---|
author | Aaron Conole <aconole@bytheb.org> | Wed Sep 28 11:35:15 2016 -0400 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Fri Sep 30 20:15:26 2016 +0200 |
tree | de2a2b6cd249138f1cb3427126d52716a1df7272 | |
parent | 5119e4381a90fabd3442bde02707cbd9e5d7367a [diff] |
netfilter: accommodate different kconfig in nf_set_hooks_head 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 <aconole@bytheb.org> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>