mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-16 17:23:55 +08:00
ipv4: minor spelling fix
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
025559eec8
commit
614d056c8e
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user