summaryrefslogtreecommitdiff
path: root/net/sched/em_nbyte.c
diff options
context:
space:
mode:
authorYuval Mintz <yuvalm@mellanox.com>2018-01-24 12:02:09 +0300
committerDavid S. Miller <davem@davemloft.net>2018-01-24 18:58:22 +0300
commit1ecdaea02ca6bfacf2ecda500dc1af51e9780c42 (patch)
tree47412becb3e85b22d2801a855ff9037bde9b8a00 /net/sched/em_nbyte.c
parent97edf7c526c117f95ab9ea311f6ac4a46a1f7459 (diff)
downloadlinux-1ecdaea02ca6bfacf2ecda500dc1af51e9780c42.tar.xz
mlxsw: spectrum_router: Don't log an error on missing neighbor
Driver periodically samples all neighbors configured in device in order to update the kernel regarding their state. When finding an entry configured in HW that doesn't show in neigh_lookup() driver logs an error message. This introduces a race when removing multiple neighbors - it's possible that a given entry would still be configured in HW as its removal is still being processed but is already removed from the kernel's neighbor tables. Simply remove the error message and gracefully accept such events. Fixes: c723c735fa6b ("mlxsw: spectrum_router: Periodically update the kernel's neigh table") Fixes: 60f040ca11b9 ("mlxsw: spectrum_router: Periodically dump active IPv6 neighbours") Signed-off-by: Yuval Mintz <yuvalm@mellanox.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/em_nbyte.c')
0 files changed, 0 insertions, 0 deletions