mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
net: remove needless (now buggy) & from dev->dev_addr
Patch fixes issues with dev->dev_addr changing from array to pointer. Hopefully there are no others. Signed-off-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
8b3521eeb7
commit
3a6d54c563
6 changed files with 10 additions and 9 deletions
|
|
@ -1100,8 +1100,8 @@ static void ip6_tnl_link_config(struct ip6_tnl *t)
|
|||
struct ip6_tnl_parm *p = &t->parms;
|
||||
struct flowi *fl = &t->fl;
|
||||
|
||||
memcpy(&dev->dev_addr, &p->laddr, sizeof(struct in6_addr));
|
||||
memcpy(&dev->broadcast, &p->raddr, sizeof(struct in6_addr));
|
||||
memcpy(dev->dev_addr, &p->laddr, sizeof(struct in6_addr));
|
||||
memcpy(dev->broadcast, &p->raddr, sizeof(struct in6_addr));
|
||||
|
||||
/* Set up flowi template */
|
||||
ipv6_addr_copy(&fl->fl6_src, &p->laddr);
|
||||
|
|
|
|||
Loading…
Reference in a new issue