diff options
author | John Hurley <john.hurley@netronome.com> | 2018-07-20 21:07:54 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-22 10:55:01 -0700 |
commit | b809ec869b2cf2af053ffd99e5a46ab600e94aa2 (patch) | |
tree | 11c86416be54d59743767ce6651c9fc9a022f76e /drivers/net/ethernet/cirrus | |
parent | 0fb8d5a030db52a184eca49320e5f4ff8dacd61d (diff) | |
download | linux-b809ec869b2cf2af053ffd99e5a46ab600e94aa2.tar.bz2 |
nfp: flower: ensure dead neighbour entries are not offloaded
Previously only the neighbour state was checked to decide if an offloaded
entry should be removed. However, there can be situations when the entry
is dead but still marked as valid. This can lead to dead entries not
being removed from fw tables or even incorrect data being added.
Check the entry dead bit before deciding if it should be added to or
removed from fw neighbour tables.
Fixes: 8e6a9046b66a ("nfp: flower vxlan neighbour offload")
Signed-off-by: John Hurley <john.hurley@netronome.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cirrus')
0 files changed, 0 insertions, 0 deletions