aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc
diff options
context:
space:
mode:
authorIdo Schimmel <[email protected]>2017-01-23 10:11:42 +0000
committerDavid S. Miller <[email protected]>2017-01-24 18:42:45 +0000
commita59b7e0246774e28193126fe7fdbbd0ae9c67dcc (patch)
tree0eaac529d6966bbd84b69b51085439af35ae08aa /net/tipc
parentr8152: don't execute runtime suspend if the tx is not empty (diff)
downloadkernel-a59b7e0246774e28193126fe7fdbbd0ae9c67dcc.tar.gz
kernel-a59b7e0246774e28193126fe7fdbbd0ae9c67dcc.zip
mlxsw: spectrum_router: Correctly reallocate adjacency entries
mlxsw_sp_nexthop_group_mac_update() is called in one of two cases: 1) When the MAC of a nexthop needs to be updated 2) When the size of a nexthop group has changed In the second case the adjacency entries for the nexthop group need to be reallocated from the adjacency table. In this case we must write to the entries the MAC addresses of all the nexthops that should be offloaded and not only those whose MAC changed. Otherwise, these entries would be filled with garbage data, resulting in packet loss. Fixes: a7ff87acd995 ("mlxsw: spectrum_router: Implement next-hop routing") Signed-off-by: Ido Schimmel <[email protected]> Signed-off-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions