summaryrefslogtreecommitdiffstats
path: root/Kconfig
diff options
context:
space:
mode:
authorSuresh Reddy2016-09-07 16:27:53 +0200
committerDavid S. Miller2016-09-08 07:44:56 +0200
commitc27ebf58517536c0006813007680b24db17def47 (patch)
tree1b04757f61b15326a8d04cd6496b1dd4afc2c0e5 /Kconfig
parentbe2net: Avoid redundant addition of mac address in HW (diff)
downloadkernel-qcow2-linux-c27ebf58517536c0006813007680b24db17def47.tar.gz
kernel-qcow2-linux-c27ebf58517536c0006813007680b24db17def47.tar.xz
kernel-qcow2-linux-c27ebf58517536c0006813007680b24db17def47.zip
be2net: Fix mac address collision in some configurations
If the device mac address is updated using ndo_set_mac_address(), while the same mac address is already programmed, the driver does not detect this condition if its netdev->dev_addr has been changed. The driver tries to add the same mac address resulting in mac address collision error. This has been observed in bonding mode-5 configuration. To fix this, store the mac address configured in HW in the adapter structure. Use this to compare against the new address being updated to avoid collision. Signed-off-by: Suresh Reddy <Suresh.Reddy@broadcom.com> Signed-off-by: Sathya Perla <sathya.perla@broadcom.com> Signed-off-by: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions