Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 194033
b: refs/heads/master
c: d1f84c6
h: refs/heads/master
i:
  194031: ba061e7
v: v3
  • Loading branch information
stephen hemminger authored and David S. Miller committed Apr 13, 2010
1 parent 3880457 commit ee05006
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 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: 27bdb2abcc5edb3526e25407b74bf17d1872c329
refs/heads/master: d1f84c63a465d6ba16955930519b7f68c550cae1
3 changes: 0 additions & 3 deletions trunk/net/ipv6/addrconf.c
Original file line number Diff line number Diff line change
Expand Up @@ -676,7 +676,6 @@ ipv6_add_addr(struct inet6_dev *idev, const struct in6_addr *addr, int pfxlen,
hash = ipv6_addr_hash(addr);

hlist_add_head_rcu(&ifa->addr_lst, &inet6_addr_lst[hash]);
in6_ifa_hold(ifa);
spin_unlock(&addrconf_hash_lock);

write_lock(&idev->lock);
Expand Down Expand Up @@ -724,7 +723,6 @@ static void ipv6_del_addr(struct inet6_ifaddr *ifp)

spin_lock_bh(&addrconf_hash_lock);
hlist_del_init_rcu(&ifp->addr_lst);
__in6_ifa_put(ifp);
spin_unlock_bh(&addrconf_hash_lock);

write_lock_bh(&idev->lock);
Expand Down Expand Up @@ -2713,7 +2711,6 @@ static int addrconf_ifdown(struct net_device *dev, int how)
/* clear hash table */
spin_lock_bh(&addrconf_hash_lock);
hlist_del_init_rcu(&ifa->addr_lst);
__in6_ifa_put(ifa);
spin_unlock_bh(&addrconf_hash_lock);
}

Expand Down

0 comments on commit ee05006

Please sign in to comment.