summaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
authorstephen hemminger <stephen@networkplumber.org>2014-01-12 14:26:32 -0500
committerDavid S. Miller <davem@davemloft.net>2014-01-14 21:18:22 -0500
commitdb9c7c3943f2301bdca9d88b16dd06af23ebbd6c (patch)
tree17f25308095459eb400ff5242bff56701989ed85 /net/ipv6
parent86c72fdf386d81e0b77a4c40b8ba8215fbb1418b (diff)
ipv6: addrconf spelling fixes
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r--net/ipv6/addrconf.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c
index 5329cccf55dc..1b2e4ee3ce5e 100644
--- a/net/ipv6/addrconf.c
+++ b/net/ipv6/addrconf.c
@@ -984,8 +984,8 @@ static void ipv6_del_addr(struct inet6_ifaddr *ifp)
984 * 984 *
985 * 1) we don't purge prefix here if address was not permanent. 985 * 1) we don't purge prefix here if address was not permanent.
986 * prefix is managed by its own lifetime. 986 * prefix is managed by its own lifetime.
987 * 2) if there're no addresses, delete prefix. 987 * 2) if there are no addresses, delete prefix.
988 * 3) if there're still other permanent address(es), 988 * 3) if there are still other permanent address(es),
989 * corresponding prefix is still permanent. 989 * corresponding prefix is still permanent.
990 * 4) otherwise, update prefix lifetime to the 990 * 4) otherwise, update prefix lifetime to the
991 * longest valid lifetime among the corresponding 991 * longest valid lifetime among the corresponding
@@ -1206,7 +1206,7 @@ static int ipv6_get_saddr_eval(struct net *net,
1206 * | d is scope of the destination. 1206 * | d is scope of the destination.
1207 * B-d | \ 1207 * B-d | \
1208 * | \ <- smaller scope is better if 1208 * | \ <- smaller scope is better if
1209 * B-15 | \ if scope is enough for destinaion. 1209 * B-15 | \ if scope is enough for destination.
1210 * | ret = B - scope (-1 <= scope >= d <= 15). 1210 * | ret = B - scope (-1 <= scope >= d <= 15).
1211 * d-C-1 | / 1211 * d-C-1 | /
1212 * |/ <- greater is better 1212 * |/ <- greater is better
@@ -2878,7 +2878,7 @@ static int addrconf_notify(struct notifier_block *this, unsigned long event,
2878 } 2878 }
2879 2879
2880 /* 2880 /*
2881 * MTU falled under IPV6_MIN_MTU. 2881 * if MTU under IPV6_MIN_MTU.
2882 * Stop IPv6 on this interface. 2882 * Stop IPv6 on this interface.
2883 */ 2883 */
2884 2884
@@ -3733,7 +3733,7 @@ inet6_rtm_newaddr(struct sk_buff *skb, struct nlmsghdr *nlh)
3733 if (ifa == NULL) { 3733 if (ifa == NULL) {
3734 /* 3734 /*
3735 * It would be best to check for !NLM_F_CREATE here but 3735 * It would be best to check for !NLM_F_CREATE here but
3736 * userspace alreay relies on not having to provide this. 3736 * userspace already relies on not having to provide this.
3737 */ 3737 */
3738 return inet6_addr_add(net, ifm->ifa_index, pfx, peer_pfx, 3738 return inet6_addr_add(net, ifm->ifa_index, pfx, peer_pfx,
3739 ifm->ifa_prefixlen, ifa_flags, 3739 ifm->ifa_prefixlen, ifa_flags,