]> git.baikalelectronics.ru Git - kernel.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)
commit600e04f4f4c490b14133fdb9a60b6f8721d784e2
treed8589b6d5a12eda3030b30cd77772390895fe079
parentaac9ddd70f4bdf297cf85e439ed24045a0eacf37
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: 5962dab3383d ('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