Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 88177
b: refs/heads/master
c: 84f5937
h: refs/heads/master
i:
  88175: 50f9156
v: v3
  • Loading branch information
Denis V. Lunev authored and David S. Miller committed Apr 3, 2008
1 parent 2498a18 commit a501637
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 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: eb867579311a9c1e998d6911af056772c400122a
refs/heads/master: 84f59370c519449c70dcc813b050f5cbbf0098e7
9 changes: 2 additions & 7 deletions trunk/net/ipv6/anycast.c
Original file line number Diff line number Diff line change
Expand Up @@ -334,9 +334,7 @@ int ipv6_dev_ac_inc(struct net_device *dev, struct in6_addr *addr)
idev->ac_list = aca;
write_unlock_bh(&idev->lock);

dst_hold(&rt->u.dst);
if (ip6_ins_rt(rt))
dst_release(&rt->u.dst);
ip6_ins_rt(rt);

addrconf_join_solict(dev, &aca->aca_addr);

Expand Down Expand Up @@ -378,10 +376,7 @@ int __ipv6_dev_ac_dec(struct inet6_dev *idev, struct in6_addr *addr)
addrconf_leave_solict(idev, &aca->aca_addr);

dst_hold(&aca->aca_rt->u.dst);
if (ip6_del_rt(aca->aca_rt))
dst_free(&aca->aca_rt->u.dst);
else
dst_release(&aca->aca_rt->u.dst);
ip6_del_rt(aca->aca_rt);

aca_put(aca);
return 0;
Expand Down

0 comments on commit a501637

Please sign in to comment.