diff options
author | Paul Blakey <paulb@nvidia.com> | 2022-02-17 11:30:48 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-02-18 11:02:48 +0000 |
commit | 2f131de361f6d0eaff17db26efdb844c178432f8 (patch) | |
tree | 04e3fa251f4da5a120e03ff4a88476fdc13cae87 /net/core/devlink.c | |
parent | 4224cfd7fb6523f7a9d1c8bb91bb5df1e38eb624 (diff) | |
download | linux-2f131de361f6d0eaff17db26efdb844c178432f8.tar.gz linux-2f131de361f6d0eaff17db26efdb844c178432f8.tar.bz2 linux-2f131de361f6d0eaff17db26efdb844c178432f8.zip |
net/sched: act_ct: Fix flow table lookup after ct clear or switching zones
Flow table lookup is skipped if packet either went through ct clear
action (which set the IP_CT_UNTRACKED flag on the packet), or while
switching zones and there is already a connection associated with
the packet. This will result in no SW offload of the connection,
and the and connection not being removed from flow table with
TCP teardown (fin/rst packet).
To fix the above, remove these unneccary checks in flow
table lookup.
Fixes: 46475bb20f4b ("net/sched: act_ct: Software offload of established flows")
Signed-off-by: Paul Blakey <paulb@nvidia.com>
Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/devlink.c')
0 files changed, 0 insertions, 0 deletions