]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/ipv6/route.c
[RTNETLINK]: Use rtnl_unicast() for rtnetlink unicasts
[net-next-2.6.git] / net / ipv6 / route.c
index 9ce28277f47fd91bef55c5f58891792b0b48fb0a..024c8e26c2ecc4f285381c370999adb64bd44422 100644 (file)
@@ -2044,9 +2044,7 @@ int inet6_rtm_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);
-       if (err > 0)
-               err = 0;
+       err = rtnl_unicast(skb, NETLINK_CB(in_skb).pid);
 out:
        return err;
 out_free: