Skip to content
Commit fa42245d authored by Hari Vyas's avatar Hari Vyas Committed by David S. Miller
Browse files

net: ethernet: bgmac: mac address change bug



ndo_set_mac_address() passes struct sockaddr * as 2nd parameter to
bgmac_set_mac_address() but code assumed u8 *.  This caused two bytes
chopping and the wrong mac address was configured.

Signed-off-by: default avatarHari Vyas <hariv@broadcom.com>
Signed-off-by: default avatarJon Mason <jon.mason@broadcom.com>
Fixes: 4e209001

 ("bgmac: write mac address to hardware in ndo_set_mac_address")
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 16206524
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment