mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
[RTNETLINK]: Use rtnl_unicast() for rtnetlink unicasts
Signed-off-by: Thomas Graf <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
f8d8fda54a
commit
2942e90050
8 changed files with 20 additions and 24 deletions
|
|
@ -1611,9 +1611,7 @@ int dn_cache_getroute(struct sk_buff *in_skb, struct nlmsghdr *nlh, void *arg)
|
|||
goto out_free;
|
||||
}
|
||||
|
||||
err = netlink_unicast(rtnl, skb, NETLINK_CB(in_skb).pid, MSG_DONTWAIT);
|
||||
|
||||
return err;
|
||||
return rtnl_unicast(skb, NETLINK_CB(in_skb).pid);
|
||||
|
||||
out_free:
|
||||
kfree_skb(skb);
|
||||
|
|
|
|||
Loading…
Reference in a new issue