diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-03-01 20:27:01 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-03-01 20:27:01 -0500 |
commit | fb7d4045669b3ea0e92cf45963839a9808b7650c (patch) | |
tree | 4f8f2598bf27dd5ff2a096a3cb40ad83f9796c97 /net/ipv6 | |
parent | 100b425480d3a4c7dff4f99bead457d91ad19caf (diff) | |
parent | a9948a7e15015e7f2cb602190322b8ebb00c54c8 (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6:
[TCP]: Fix minisock tcp_create_openreq_child() typo.
[TCP]: Document several sysctls.
[NET]: Fix kfree(skb)
[NET]: Handle disabled preemption in gfp_any()
[BRIDGE]: Fix locking of set path cost.
[IPV6]: /proc/net/anycast6 unbalanced inet6_dev refcnt
[IPX]: Remove ancient changelog
[IPX]: Remove outdated information from Kconfig
[NET]: Revert socket.h/stat.h ifdef hacks.
[IPV6]: anycast refcnt fix
[XFRM] xfrm_user: Fix return values of xfrm_add_sa_expire.
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/addrconf.c | 2 | ||||
-rw-r--r-- | net/ipv6/anycast.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index f6ac65d36559..e16f1bba5dff 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c | |||
@@ -400,6 +400,8 @@ static void dev_forward_change(struct inet6_dev *idev) | |||
400 | ipv6_dev_mc_dec(dev, &addr); | 400 | ipv6_dev_mc_dec(dev, &addr); |
401 | } | 401 | } |
402 | for (ifa=idev->addr_list; ifa; ifa=ifa->if_next) { | 402 | for (ifa=idev->addr_list; ifa; ifa=ifa->if_next) { |
403 | if (ifa->flags&IFA_F_TENTATIVE) | ||
404 | continue; | ||
403 | if (idev->cnf.forwarding) | 405 | if (idev->cnf.forwarding) |
404 | addrconf_join_anycast(ifa); | 406 | addrconf_join_anycast(ifa); |
405 | else | 407 | else |
diff --git a/net/ipv6/anycast.c b/net/ipv6/anycast.c index e5ef5979ade4..09117d63256f 100644 --- a/net/ipv6/anycast.c +++ b/net/ipv6/anycast.c | |||
@@ -461,6 +461,7 @@ static inline struct ifacaddr6 *ac6_get_first(struct seq_file *seq) | |||
461 | break; | 461 | break; |
462 | } | 462 | } |
463 | read_unlock_bh(&idev->lock); | 463 | read_unlock_bh(&idev->lock); |
464 | in6_dev_put(idev); | ||
464 | } | 465 | } |
465 | return im; | 466 | return im; |
466 | } | 467 | } |