diff options
author | Stefan Assmann <sassmann@kpanic.de> | 2018-12-04 15:18:52 +0100 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2018-12-12 14:54:48 -0800 |
commit | 158daed16efb1170694e420ae06ba8ba954d82e5 (patch) | |
tree | 8734d86c24d63473fc02c442aecd334bba2e81ef /arch/m68k | |
parent | ee28b30cbbe0b490f52ba222c9d392b99581545e (diff) | |
download | linux-158daed16efb1170694e420ae06ba8ba954d82e5.tar.bz2 |
i40e: fix mac filter delete when setting mac address
A previous commit moved the ether_addr_copy() in i40e_set_mac() before
the mac filter del/add to avoid a race. However it wasn't taken into
account that this alters the mac address being handed to
i40e_del_mac_filter().
Also changed i40e_add_mac_filter() to operate on netdev->dev_addr,
hopefully that makes the code easier to read.
Fixes: 458867b2ca0c ("i40e: don't remove netdev->dev_addr when syncing uc list")
Signed-off-by: Stefan Assmann <sassmann@kpanic.de>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Acked-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'arch/m68k')
0 files changed, 0 insertions, 0 deletions