diff options
Diffstat (limited to 'net/ipv6/route.c')
-rw-r--r-- | net/ipv6/route.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/ipv6/route.c b/net/ipv6/route.c index 9ce28277f47f..024c8e26c2ec 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c | |||
@@ -2044,9 +2044,7 @@ int inet6_rtm_getroute(struct sk_buff *in_skb, struct nlmsghdr* nlh, void *arg) | |||
2044 | goto out_free; | 2044 | goto out_free; |
2045 | } | 2045 | } |
2046 | 2046 | ||
2047 | err = netlink_unicast(rtnl, skb, NETLINK_CB(in_skb).pid, MSG_DONTWAIT); | 2047 | err = rtnl_unicast(skb, NETLINK_CB(in_skb).pid); |
2048 | if (err > 0) | ||
2049 | err = 0; | ||
2050 | out: | 2048 | out: |
2051 | return err; | 2049 | return err; |
2052 | out_free: | 2050 | out_free: |