Ido Schimmel 53f800e3ba neigh: Send netevent after marking neigh as dead
neigh_cleanup_and_release() is always called after marking a neighbour
as dead, but it only notifies user space and not in-kernel listeners of
the netevent notification chain.

This can cause multiple problems. In my specific use case, it causes the
listener (a switch driver capable of L3 offloads) to believe a neighbour
entry is still valid, and is thus erroneously kept in the device's
table.

Fix that by sending a netevent after marking the neighbour as dead.

Fixes: a6bf9e933daf ("mlxsw: spectrum_router: Offload neighbours based on NUD state change")
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-12-23 12:31:18 -05:00
..
2016-12-03 23:54:25 -05:00
2016-12-17 11:56:57 -05:00
2016-05-29 22:33:25 -07:00
2016-11-14 13:17:21 -05:00
2016-10-20 11:23:08 -04:00
2016-12-10 17:25:58 -05:00
2016-12-20 14:22:49 -05:00
2016-12-17 11:56:57 -05:00
2016-06-09 23:41:03 -07:00
2016-08-17 19:36:23 -04:00