summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/cirrus
diff options
context:
space:
mode:
authorJohn Hurley <john.hurley@netronome.com>2018-07-20 21:07:54 -0700
committerDavid S. Miller <davem@davemloft.net>2018-07-22 10:55:01 -0700
commitb809ec869b2cf2af053ffd99e5a46ab600e94aa2 (patch)
tree11c86416be54d59743767ce6651c9fc9a022f76e /drivers/net/ethernet/cirrus
parent0fb8d5a030db52a184eca49320e5f4ff8dacd61d (diff)
downloadlinux-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