diff options
| author | Hari Vyas <[email protected]> | 2017-03-02 22:59:57 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-03-03 17:44:28 +0000 |
| commit | fa42245dff4a5f2f8f208da542acbd80c22f7c65 (patch) | |
| tree | e8563495264c20d363e421cdcd9aa3291b0d5bf8 /drivers/fpga/fpga-bridge.c | |
| parent | net: ethernet: bgmac: init sequence bug (diff) | |
| download | kernel-fa42245dff4a5f2f8f208da542acbd80c22f7c65.tar.gz kernel-fa42245dff4a5f2f8f208da542acbd80c22f7c65.zip | |
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: Hari Vyas <[email protected]>
Signed-off-by: Jon Mason <[email protected]>
Fixes: 4e209001b86 ("bgmac: write mac address to hardware in ndo_set_mac_address")
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions
