aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorAaron Conole <[email protected]>2016-09-28 15:35:15 +0000
committerPablo Neira Ayuso <[email protected]>2016-09-30 18:15:26 +0000
commit7816ec564ec40ae20bb7925f733a181cad0cc491 (patch)
treede2a2b6cd249138f1cb3427126d52716a1df7272 /drivers/net/xen-netback/interface.c
parentnetfilter: Fix potential null pointer dereference (diff)
downloadkernel-7816ec564ec40ae20bb7925f733a181cad0cc491.tar.gz
kernel-7816ec564ec40ae20bb7925f733a181cad0cc491.zip
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 <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions