]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
net/mlx5e: Use the correct delete call on offloaded TC encap entry detach
authorOr Gerlitz <ogerlitz@mellanox.com>
Tue, 9 May 2017 17:45:06 +0000 (20:45 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 23 May 2017 13:23:31 +0000 (16:23 +0300)
commitcdc5a7f363be34287ac6c2345e5d1d3b37cf4a23
treed8589b6d5a12eda3030b30cd77772390895fe079
parentfadd2ce5a3680fb265694f573cbfb8bcb7d6c9d5
net/mlx5e: Use the correct delete call on offloaded TC encap entry detach

We wrongly direcly invoke hlist_del_rcu() and not hash_del_rcu() which
does a slightly different call now and may change later, fix that.

Fixes: a54e20b4fcae ('net/mlx5e: Add basic TC tunnel set action for SRIOV offloads')
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Reported-by: Paul Blakey <paulb@mellanox.com>
Reviewed-by: Paul Blakey <paulb@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c