diff options
| author | John Hurley <john.hurley@netronome.com> | 2019-01-15 19:06:58 -0800 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2019-01-16 15:23:15 -0800 |
| commit | 13cf71031d797d37bbc960a8260ba47505f6b597 (patch) | |
| tree | 7394d7b3704720b8b053bf8da49bf0220c9f50c5 /include/linux/stackprotector.h | |
| parent | 05d2bee6bd76164f7d81f3fde83f7461d0ff12af (diff) | |
| download | cachepc-linux-13cf71031d797d37bbc960a8260ba47505f6b597.tar.gz cachepc-linux-13cf71031d797d37bbc960a8260ba47505f6b597.zip | |
nfp: flower: ensure MAC cleanup on address change
It is possible to receive a MAC address change notification without the
net device being down (e.g. when an OvS bridge is assigned the same MAC as
a port added to it). This means that an offloaded MAC address may not be
removed if its device gets a new address.
Maintain a record of the offloaded MAC addresses for each repr and netdev
assigned a MAC offload index. Use this to delete the (now expired) MAC if
a change of address event occurs. Only handle change address events if the
device is already up - if not then the netdev up event will handle it.
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 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions
