Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 288305
b: refs/heads/master
c: d6ddef9
h: refs/heads/master
i:
  288303: bcf63a2
v: v3
  • Loading branch information
Li Wei authored and David S. Miller committed Mar 6, 2012
1 parent e247ecc commit 6b46eab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 34efc283a56adaef5756ac93065f46608674ea7d
refs/heads/master: d6ddef9e641d1229d4ec841dc75ae703171c3e92
4 changes: 4 additions & 0 deletions trunk/net/ipv6/addrconf.c
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,10 @@ static struct inet6_dev * ipv6_add_dev(struct net_device *dev)
/* Join all-node multicast group */
ipv6_dev_mc_inc(dev, &in6addr_linklocal_allnodes);

/* Join all-router multicast group if forwarding is set */
if (ndev->cnf.forwarding && dev && (dev->flags & IFF_MULTICAST))
ipv6_dev_mc_inc(dev, &in6addr_linklocal_allrouters);

return ndev;
}

Expand Down

0 comments on commit 6b46eab

Please sign in to comment.