Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 104078
b: refs/heads/master
c: 702beb8
h: refs/heads/master
v: v3
  • Loading branch information
David Miller authored and Linus Torvalds committed Jul 21, 2008
1 parent e6cf4e5 commit 9c1352f
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: d1671a9c15f55a1475d41269494518e348880c33
refs/heads/master: 702beb87d6b4e08cca394b210679e5d7c2ac9383
3 changes: 1 addition & 2 deletions trunk/net/ipv6/addrconf.c
Original file line number Diff line number Diff line change
Expand Up @@ -2315,12 +2315,11 @@ static void init_loopback(struct net_device *dev)
static void addrconf_add_linklocal(struct inet6_dev *idev, struct in6_addr *addr)
{
struct inet6_ifaddr * ifp;
struct net *net = dev_net(idev->dev);
u32 addr_flags = IFA_F_PERMANENT;

#ifdef CONFIG_IPV6_OPTIMISTIC_DAD
if (idev->cnf.optimistic_dad &&
!net->ipv6.devconf_all->forwarding)
!dev_net(idev->dev)->ipv6.devconf_all->forwarding)
addr_flags |= IFA_F_OPTIMISTIC;
#endif

Expand Down

0 comments on commit 9c1352f

Please sign in to comment.