aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorXin Long <[email protected]>2023-07-16 21:09:17 +0000
committerPaolo Abeni <[email protected]>2023-07-20 08:06:36 +0000
commit4914109a8e1e494c6aa9852f9e84ec77a5fc643f (patch)
tree05a768b1df8be3e69eb1e37ce3d63c2a9d93815b /net/switchdev/switchdev.c
parenttcp: tcp_enter_quickack_mode() should be static (diff)
downloadkernel-4914109a8e1e494c6aa9852f9e84ec77a5fc643f.tar.gz
kernel-4914109a8e1e494c6aa9852f9e84ec77a5fc643f.zip
netfilter: allow exp not to be removed in nf_ct_find_expectation
Currently nf_conntrack_in() calling nf_ct_find_expectation() will remove the exp from the hash table. However, in some scenario, we expect the exp not to be removed when the created ct will not be confirmed, like in OVS and TC conntrack in the following patches. This patch allows exp not to be removed by setting IPS_CONFIRMED in the status of the tmpl. Signed-off-by: Xin Long <[email protected]> Acked-by: Aaron Conole <[email protected]> Acked-by: Florian Westphal <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions