]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Remove redundant WARN when we cannot find neigh entry
authorRoi Dayan <roid@mellanox.com>
Mon, 4 Dec 2017 14:46:30 +0000 (16:46 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 23 Jul 2018 22:01:11 +0000 (15:01 -0700)
commit0427f353e2845203e473c062bbdba095795cf928
treef67ce15dbcae88e3d09025d60dababbcea6d480d
parentb5a158bbf4b3ca99c6a1b47ef872fef41f5311c1
net/mlx5e: Remove redundant WARN when we cannot find neigh entry

It is possible for neigh entry not to exist if it was cleaned already.
When we bring down an interface the neigh gets deleted but it could be
that our listener for neigh event to clear the encap valid bit didn't
start yet and the neigh update last used work is started first.
In this scenario the encap entry has valid bit set but the neigh entry
doesn't exist.

Signed-off-by: Roi Dayan <roid@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