summaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia
diff options
context:
space:
mode:
authorHari Vyas <hariv@broadcom.com>2017-03-02 17:59:57 -0500
committerBen Hutchings <ben@decadent.org.uk>2017-06-05 21:17:19 +0100
commit174e03cdb2c314d76d76c93abbc3eef94db30f9a (patch)
treec0eaec067485d2a838e8677888424b6462a8de06 /drivers/pcmcia
parent454b5e15d9c0dcf9ead4f52e02de8d46d7f789b3 (diff)
downloadlinux-stable-174e03cdb2c314d76d76c93abbc3eef94db30f9a.tar.gz
linux-stable-174e03cdb2c314d76d76c93abbc3eef94db30f9a.tar.bz2
linux-stable-174e03cdb2c314d76d76c93abbc3eef94db30f9a.zip
net: ethernet: bgmac: mac address change bug
commit fa42245dff4a5f2f8f208da542acbd80c22f7c65 upstream. 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: Hari Vyas <hariv@broadcom.com> Signed-off-by: Jon Mason <jon.mason@broadcom.com> Fixes: 4e209001b86 ("bgmac: write mac address to hardware in ndo_set_mac_address") Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'drivers/pcmcia')
0 files changed, 0 insertions, 0 deletions