Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 330206
b: refs/heads/master
c: 62b54dd
h: refs/heads/master
v: v3
  • Loading branch information
Nicolas Dichtel authored and David S. Miller committed Oct 3, 2012
1 parent 9b0c8bf commit d62dab0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 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: ffb5ba90017505a19e238e986e6d33f09e4df765
refs/heads/master: 62b54dd91567686a1cb118f76a72d5f4764a86dd
15 changes: 2 additions & 13 deletions trunk/net/ipv6/addrconf.c
Original file line number Diff line number Diff line change
Expand Up @@ -1769,14 +1769,6 @@ static void sit_route_add(struct net_device *dev)
}
#endif

static void addrconf_add_lroute(struct net_device *dev)
{
struct in6_addr addr;

ipv6_addr_set(&addr, htonl(0xFE800000), 0, 0, 0);
addrconf_prefix_route(&addr, 64, dev, 0, 0);
}

static struct inet6_dev *addrconf_add_dev(struct net_device *dev)
{
struct inet6_dev *idev;
Expand All @@ -1794,8 +1786,6 @@ static struct inet6_dev *addrconf_add_dev(struct net_device *dev)
if (!(dev->flags & IFF_LOOPBACK))
addrconf_add_mroute(dev);

/* Add link local route */
addrconf_add_lroute(dev);
return idev;
}

Expand Down Expand Up @@ -2474,10 +2464,9 @@ static void addrconf_sit_config(struct net_device *dev)

sit_add_v4_addrs(idev);

if (dev->flags&IFF_POINTOPOINT) {
if (dev->flags&IFF_POINTOPOINT)
addrconf_add_mroute(dev);
addrconf_add_lroute(dev);
} else
else
sit_route_add(dev);
}
#endif
Expand Down

0 comments on commit d62dab0

Please sign in to comment.