diff options
author | Paul Blakey <paulb@nvidia.com> | 2022-05-23 19:12:21 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2022-05-31 13:40:54 -0700 |
commit | 1f2856cde64baa78475e6d3c601fb7b7f693a161 (patch) | |
tree | ffd6beef267f95c959cd9ae2bf7659ccc76993f4 /net/switchdev/switchdev.c | |
parent | 66cb64e292d21588bdb831f08a7ec0ff04d6380d (diff) | |
download | linux-1f2856cde64baa78475e6d3c601fb7b7f693a161.tar.gz linux-1f2856cde64baa78475e6d3c601fb7b7f693a161.tar.bz2 linux-1f2856cde64baa78475e6d3c601fb7b7f693a161.zip |
net/mlx5: CT: Fix header-rewrite re-use for tupels
Tuple entries that don't have nat configured for them
which are added to the ct nat table will always create
a new modify header, as we don't check for possible
re-use on them. The same for tuples that have nat configured
for them but are added to ct table.
Fix the above by only avoiding wasteful re-use lookup
for actually natted entries in ct nat table.
Fixes: 7fac5c2eced3 ("net/mlx5: CT: Avoid reusing modify header context for natted entries")
Signed-off-by: Paul Blakey <paulb@nvidia.com>
Reviewed-by: Ariel Levkovich <lariel@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions