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.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/core/neighbour.c b/net/core/neighbour.c
index 1dc728b38589..b337a937ea52 100644
--- a/net/core/neighbour.c
+++ b/net/core/neighbour.c
@@ -1340,7 +1340,6 @@ struct neigh_parms *neigh_parms_alloc(struct net_device *dev,
1340 if (p) { 1340 if (p) {
1341 p->tbl = tbl; 1341 p->tbl = tbl;
1342 atomic_set(&p->refcnt, 1); 1342 atomic_set(&p->refcnt, 1);
1343 INIT_RCU_HEAD(&p->rcu_head);
1344 p->reachable_time = 1343 p->reachable_time =
1345 neigh_rand_reach_time(p->base_reachable_time); 1344 neigh_rand_reach_time(p->base_reachable_time);
1346 1345
@@ -1412,7 +1411,6 @@ void neigh_table_init_no_netlink(struct neigh_table *tbl)
1412 tbl->parms.net = &init_net; 1411 tbl->parms.net = &init_net;
1413#endif 1412#endif
1414 atomic_set(&tbl->parms.refcnt, 1); 1413 atomic_set(&tbl->parms.refcnt, 1);
1415 INIT_RCU_HEAD(&tbl->parms.rcu_head);
1416 tbl->parms.reachable_time = 1414 tbl->parms.reachable_time =
1417 neigh_rand_reach_time(tbl->parms.base_reachable_time); 1415 neigh_rand_reach_time(tbl->parms.base_reachable_time);
1418 1416