summaryrefslogtreecommitdiffstats
path: root/kernel/elfcore.c
diff options
context:
space:
mode:
authorTaehee Yoo2018-10-11 20:46:29 +0200
committerPablo Neira Ayuso2018-10-19 13:30:48 +0200
commita3fb3698cadf27dc142b24394c401625e14d80d0 (patch)
tree198e19acf8c76aa381b10cd65039ef0ee6a28af5 /kernel/elfcore.c
parentnetfilter: nf_flow_table: remove flowtable hook flush routine in netns exit r... (diff)
downloadkernel-qcow2-linux-a3fb3698cadf27dc142b24394c401625e14d80d0.tar.gz
kernel-qcow2-linux-a3fb3698cadf27dc142b24394c401625e14d80d0.tar.xz
kernel-qcow2-linux-a3fb3698cadf27dc142b24394c401625e14d80d0.zip
netfilter: nf_flow_table: do not remove offload when other netns's interface is down
When interface is down, offload cleanup function(nf_flow_table_do_cleanup) is called and that checks whether interface index of offload and index of link down interface is same. but only interface index checking is not enough because flowtable is not pernet list. So that, if other netns's interface that has index is same with offload is down, that offload will be removed. This patch adds netns checking code to the offload cleanup routine. Fixes: 59c466dd68e7 ("netfilter: nf_flow_table: add a new flow state for tearing down offloading") Signed-off-by: Taehee Yoo <ap420073@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'kernel/elfcore.c')
0 files changed, 0 insertions, 0 deletions