On Fri, Aug 30, 2013 at 12:20:01PM +0800, Marek Lindner wrote:
On Thursday, August 29, 2013 04:54:43 Antonio Quartulli wrote:
- INIT_HLIST_NODE(&neigh_node->list);
- memcpy(neigh_node->addr, neigh_addr, ETH_ALEN);
- spin_lock_init(&neigh_node->lq_update_lock);
neigh_node->if_incoming = hard_iface;
neigh_node->orig_node = orig_node;
spin_lock_bh(&orig_node->neigh_list_lock);
hlist_add_head_rcu(&neigh_node->list, &orig_node->neigh_list);
spin_unlock_bh(&orig_node->neigh_list_lock);
INIT_LIST_HEAD(&neigh_node->bonding_list);
/* extra reference for return */ atomic_set(&neigh_node->refcount, 2);
- batadv_dbg(BATADV_DBG_BATMAN, bat_priv,
"Creating new neighbor %pM on interface %s\n", neigh_addr,
hard_iface->net_dev->name);
The init problem remains unresolved ?
Could you be more specific and tell me which fields are not properly initialised?