Revision e2194a1744e8594e82a861687808c1adca419b85 authored by Paul Blakey on 25 January 2021, 15:31:26 UTC, committed by Saeed Mahameed on 26 January 2021, 23:39:04 UTC
If a non nat tuple entry is inserted just to the regular tuples rhashtable (ct_tuples_ht) and not to natted tuples rhashtable (ct_nat_tuples_ht). Commit bc562be9674b ("net/mlx5e: CT: Save ct entries tuples in hashtables") mixed up the return labels and names sot that on cleanup or failure we still try to remove for the natted tuples rhashtable. Fix that by correctly checking if a natted tuples insertion before removing it. While here make it more readable. Fixes: bc562be9674b ("net/mlx5e: CT: Save ct entries tuples in hashtables") Reviewed-by: Roi Dayan <roid@nvidia.com> Signed-off-by: Paul Blakey <paulb@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
1 parent 8355060
.gitattributes
*.c diff=cpp
*.h diff=cpp
*.dtsi diff=dts
*.dts diff=dts
Computing file changes ...