diff options
Diffstat (limited to 'net/batman-adv/originator.c')
-rw-r--r-- | net/batman-adv/originator.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/batman-adv/originator.c b/net/batman-adv/originator.c index b4cfe368615..5b8fe32043d 100644 --- a/net/batman-adv/originator.c +++ b/net/batman-adv/originator.c | |||
@@ -102,6 +102,7 @@ struct neigh_node *create_neighbor(struct orig_node *orig_node, | |||
102 | 102 | ||
103 | INIT_HLIST_NODE(&neigh_node->list); | 103 | INIT_HLIST_NODE(&neigh_node->list); |
104 | INIT_LIST_HEAD(&neigh_node->bonding_list); | 104 | INIT_LIST_HEAD(&neigh_node->bonding_list); |
105 | spin_lock_init(&neigh_node->tq_lock); | ||
105 | 106 | ||
106 | memcpy(neigh_node->addr, neigh, ETH_ALEN); | 107 | memcpy(neigh_node->addr, neigh, ETH_ALEN); |
107 | neigh_node->orig_node = orig_neigh_node; | 108 | neigh_node->orig_node = orig_neigh_node; |