Commit a186d2ae authored by Jiri Pirko's avatar Jiri Pirko Committed by David S. Miller

net: remove needless (now buggy) & from dev->dev_addr (part2)

Missed part of "&" removal.
Signed-off-by: default avatarJiri Pirko <jpirko@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3699a1c7
...@@ -935,7 +935,7 @@ static int llc_ui_getname(struct socket *sock, struct sockaddr *uaddr, ...@@ -935,7 +935,7 @@ static int llc_ui_getname(struct socket *sock, struct sockaddr *uaddr,
if (llc->dev) { if (llc->dev) {
sllc.sllc_arphrd = llc->dev->type; sllc.sllc_arphrd = llc->dev->type;
memcpy(&sllc.sllc_mac, &llc->dev->dev_addr, memcpy(&sllc.sllc_mac, llc->dev->dev_addr,
IFHWADDRLEN); IFHWADDRLEN);
} }
} }
......
Markdown is supported
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