aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/progs/getpeername_unix_prog.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <[email protected]>2023-10-24 19:09:47 +0000
committerPablo Neira Ayuso <[email protected]>2023-10-25 09:35:46 +0000
commit735795f68b37e9bb49f642407a0d49b1631ea1c7 (patch)
treedb5d84ee8206b6df761114f647a233c6b091979d /tools/testing/selftests/bpf/progs/getpeername_unix_prog.c
parenttcp: fix wrong RTO timeout when received SACK reneging (diff)
downloadkernel-735795f68b37e9bb49f642407a0d49b1631ea1c7.tar.gz
kernel-735795f68b37e9bb49f642407a0d49b1631ea1c7.zip
netfilter: flowtable: GC pushes back packets to classic path
Since 41f2c7c342d3 ("net/sched: act_ct: Fix promotion of offloaded unreplied tuple"), flowtable GC pushes back flows with IPS_SEEN_REPLY back to classic path in every run, ie. every second. This is because of a new check for NF_FLOW_HW_ESTABLISHED which is specific of sched/act_ct. In Netfilter's flowtable case, NF_FLOW_HW_ESTABLISHED never gets set on and IPS_SEEN_REPLY is unreliable since users decide when to offload the flow before, such bit might be set on at a later stage. Fix it by adding a custom .gc handler that sched/act_ct can use to deal with its NF_FLOW_HW_ESTABLISHED bit. Fixes: 41f2c7c342d3 ("net/sched: act_ct: Fix promotion of offloaded unreplied tuple") Reported-by: Vladimir Smelhaus <[email protected]> Reviewed-by: Paul Blakey <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/getpeername_unix_prog.c')
0 files changed, 0 insertions, 0 deletions