Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 335596
b: refs/heads/master
c: 60713a0
h: refs/heads/master
v: v3
  • Loading branch information
Hannes Frederic Sowa authored and David S. Miller committed Nov 9, 2012
1 parent b91b4a3 commit eb8ea8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a66fe1653f4e81c007a68ca975067432a42df05b
refs/heads/master: 60713a0ca7fd6651b951cc1b4dbd528d1fc0281b
3 changes: 1 addition & 2 deletions trunk/net/ipv6/ndisc.c
Original file line number Diff line number Diff line change
Expand Up @@ -535,15 +535,14 @@ static void ndisc_send_unsol_na(struct net_device *dev)
{
struct inet6_dev *idev;
struct inet6_ifaddr *ifa;
struct in6_addr mcaddr;
struct in6_addr mcaddr = IN6ADDR_LINKLOCAL_ALLNODES_INIT;

idev = in6_dev_get(dev);
if (!idev)
return;

read_lock_bh(&idev->lock);
list_for_each_entry(ifa, &idev->addr_list, if_list) {
addrconf_addr_solict_mult(&ifa->addr, &mcaddr);
ndisc_send_na(dev, NULL, &mcaddr, &ifa->addr,
/*router=*/ !!idev->cnf.forwarding,
/*solicited=*/ false, /*override=*/ true,
Expand Down

0 comments on commit eb8ea8d

Please sign in to comment.