aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/route.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/route.c')
-rw-r--r--net/ipv4/route.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c
index 1d2839571d2f..e4b6fb4b1f4f 100644
--- a/net/ipv4/route.c
+++ b/net/ipv4/route.c
@@ -2610,7 +2610,7 @@ static int inet_rtm_getroute(struct sk_buff *in_skb, struct nlmsghdr* nlh, void
2610 if (err <= 0) 2610 if (err <= 0)
2611 goto errout_free; 2611 goto errout_free;
2612 2612
2613 err = rtnl_unicast(skb, NETLINK_CB(in_skb).pid); 2613 err = rtnl_unicast(skb, &init_net, NETLINK_CB(in_skb).pid);
2614errout: 2614errout:
2615 return err; 2615 return err;
2616 2616