Commit 614d056c authored by stephen hemminger's avatar stephen hemminger Committed by David S. Miller

ipv4: minor spelling fix

Signed-off-by: default avatarStephen Hemminger <stephen@networkplumber.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 025559ee
...@@ -827,7 +827,7 @@ static int inet_rtm_newaddr(struct sk_buff *skb, struct nlmsghdr *nlh) ...@@ -827,7 +827,7 @@ static int inet_rtm_newaddr(struct sk_buff *skb, struct nlmsghdr *nlh)
ifa_existing = find_matching_ifa(ifa); ifa_existing = find_matching_ifa(ifa);
if (!ifa_existing) { if (!ifa_existing) {
/* It would be best to check for !NLM_F_CREATE here but /* It would be best to check for !NLM_F_CREATE here but
* userspace alreay relies on not having to provide this. * userspace already relies on not having to provide this.
*/ */
set_ifa_lifetime(ifa, valid_lft, prefered_lft); set_ifa_lifetime(ifa, valid_lft, prefered_lft);
return __inet_insert_ifa(ifa, nlh, NETLINK_CB(skb).portid); return __inet_insert_ifa(ifa, nlh, NETLINK_CB(skb).portid);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment