Skip to content

Commit db9c7c3

Browse files
shemmingerdavem330
authored andcommitted
ipv6: addrconf spelling fixes
Signed-off-by: Stephen Hemminger <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 86c72fd commit db9c7c3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

net/ipv6/addrconf.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -984,8 +984,8 @@ static void ipv6_del_addr(struct inet6_ifaddr *ifp)
984984
*
985985
* 1) we don't purge prefix here if address was not permanent.
986986
* prefix is managed by its own lifetime.
987-
* 2) if there're no addresses, delete prefix.
988-
* 3) if there're still other permanent address(es),
987+
* 2) if there are no addresses, delete prefix.
988+
* 3) if there are still other permanent address(es),
989989
* corresponding prefix is still permanent.
990990
* 4) otherwise, update prefix lifetime to the
991991
* longest valid lifetime among the corresponding
@@ -1206,7 +1206,7 @@ static int ipv6_get_saddr_eval(struct net *net,
12061206
* | d is scope of the destination.
12071207
* B-d | \
12081208
* | \ <- smaller scope is better if
1209-
* B-15 | \ if scope is enough for destinaion.
1209+
* B-15 | \ if scope is enough for destination.
12101210
* | ret = B - scope (-1 <= scope >= d <= 15).
12111211
* d-C-1 | /
12121212
* |/ <- greater is better
@@ -2878,7 +2878,7 @@ static int addrconf_notify(struct notifier_block *this, unsigned long event,
28782878
}
28792879

28802880
/*
2881-
* MTU falled under IPV6_MIN_MTU.
2881+
* if MTU under IPV6_MIN_MTU.
28822882
* Stop IPv6 on this interface.
28832883
*/
28842884

@@ -3733,7 +3733,7 @@ inet6_rtm_newaddr(struct sk_buff *skb, struct nlmsghdr *nlh)
37333733
if (ifa == NULL) {
37343734
/*
37353735
* 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.
37373737
*/
37383738
return inet6_addr_add(net, ifm->ifa_index, pfx, peer_pfx,
37393739
ifm->ifa_prefixlen, ifa_flags,

0 commit comments

Comments
 (0)