commit | e73226384948e9b35823150cadd9a3ea4ca9fc97 | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@mellanox.com> | Thu Sep 01 10:37:43 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Sep 01 09:44:56 2016 -0700 |
tree | f653a6d167e16cb3d6479dc5add7e1f057b385b6 | |
parent | de7d62952b01755f9885bbe945b141d9d4338e55 [diff] |
mlxsw: spectrum_router: Fix netevent notifier registration Currently the notifier is registered for every asic instance, however the same block. Fix this by moving the registration to module init. Fixes: c723c735fa6b ("mlxsw: spectrum_router: Periodically update the kernel's neigh table") Signed-off-by: Jiri Pirko <jiri@mellanox.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>