aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/addrconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/addrconf.c')
-rw-r--r--net/ipv6/addrconf.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c
index 9ba1e811ba50..4f991a2234d0 100644
--- a/net/ipv6/addrconf.c
+++ b/net/ipv6/addrconf.c
@@ -3268,9 +3268,7 @@ static int inet6_rtm_getaddr(struct sk_buff *in_skb,
3268 goto out_free; 3268 goto out_free;
3269 } 3269 }
3270 3270
3271 err = netlink_unicast(rtnl, skb, NETLINK_CB(in_skb).pid, MSG_DONTWAIT); 3271 err = rtnl_unicast(skb, NETLINK_CB(in_skb).pid);
3272 if (err > 0)
3273 err = 0;
3274out: 3272out:
3275 in6_ifa_put(ifa); 3273 in6_ifa_put(ifa);
3276 return err; 3274 return err;