aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/route.c
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2006-08-15 03:30:25 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-22 17:54:48 -0400
commit2942e90050569525628a9f34e0daaa9b661b49cc (patch)
treefc6acc11514e64ff9efc31bdc1bb458232206642 /net/ipv4/route.c
parentf8d8fda54a1bfcf8cf829e44c494b2b4582819aa (diff)
[RTNETLINK]: Use rtnl_unicast() for rtnetlink unicasts
Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/route.c')
-rw-r--r--net/ipv4/route.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c
index 12128b82c9dc..b8f6cadc5b3a 100644
--- a/net/ipv4/route.c
+++ b/net/ipv4/route.c
@@ -2809,10 +2809,9 @@ int inet_rtm_getroute(struct sk_buff *in_skb, struct nlmsghdr* nlh, void *arg)
2809 goto out_free; 2809 goto out_free;
2810 } 2810 }
2811 2811
2812 err = netlink_unicast(rtnl, skb, NETLINK_CB(in_skb).pid, MSG_DONTWAIT); 2812 err = rtnl_unicast(skb, NETLINK_CB(in_skb).pid);
2813 if (err > 0) 2813out:
2814 err = 0; 2814 return err;
2815out: return err;
2816 2815
2817out_free: 2816out_free:
2818 kfree_skb(skb); 2817 kfree_skb(skb);