aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/neighbour.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/core/neighbour.c')
-rw-r--r--net/core/neighbour.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/core/neighbour.c b/net/core/neighbour.c
index 29f0a4d2008f..a8b72c1c7c8a 100644
--- a/net/core/neighbour.c
+++ b/net/core/neighbour.c
@@ -2467,10 +2467,10 @@ static void __neigh_notify(struct neighbour *n, int type, int flags)
2467 kfree_skb(skb); 2467 kfree_skb(skb);
2468 goto errout; 2468 goto errout;
2469 } 2469 }
2470 err = rtnl_notify(skb, 0, RTNLGRP_NEIGH, NULL, GFP_ATOMIC); 2470 err = rtnl_notify(skb, &init_net, 0, RTNLGRP_NEIGH, NULL, GFP_ATOMIC);
2471errout: 2471errout:
2472 if (err < 0) 2472 if (err < 0)
2473 rtnl_set_sk_err(RTNLGRP_NEIGH, err); 2473 rtnl_set_sk_err(&init_net, RTNLGRP_NEIGH, err);
2474} 2474}
2475 2475
2476#ifdef CONFIG_ARPD 2476#ifdef CONFIG_ARPD