]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/ipv6/addrconf.c
[RTNETLINK]: Use rtnl_unicast() for rtnetlink unicasts
[net-next-2.6.git] / net / ipv6 / addrconf.c
index 9ba1e811ba502963e77d7cddbe63a8bec46dc0f5..4f991a2234d0b02a30729a934fa3264c1531008a 100644 (file)
@@ -3268,9 +3268,7 @@ static int inet6_rtm_getaddr(struct sk_buff *in_skb,
                goto out_free;
        }
 
-       err = netlink_unicast(rtnl, skb, NETLINK_CB(in_skb).pid, MSG_DONTWAIT);
-       if (err > 0)
-               err = 0;
+       err = rtnl_unicast(skb, NETLINK_CB(in_skb).pid);
 out:
        in6_ifa_put(ifa);
        return err;