summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/originator.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-07-08 08:44:57 -0700
committerDavid S. Miller <davem@davemloft.net>2011-07-08 08:44:57 -0700
commit3f9aed7c7d517dbc717a97649d0a5a9dc80bf4f2 (patch)
treebed215245dc32aea477c76f7124e6af13ba362ac /net/batman-adv/originator.c
parent31817df025e24559a01d33ddd68bd11b21bf9d7b (diff)
parenta7f9becb7d27008af0f72f8449c110276b0df37d (diff)
Merge branch 'batman-adv/next' of git://git.open-mesh.org/linux-merge
Diffstat (limited to 'net/batman-adv/originator.c')
-rw-r--r--net/batman-adv/originator.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/batman-adv/originator.c b/net/batman-adv/originator.c
index 4cc94d4ba89..f3c3f620d19 100644
--- a/net/batman-adv/originator.c
+++ b/net/batman-adv/originator.c
@@ -223,6 +223,8 @@ struct orig_node *get_orig_node(struct bat_priv *bat_priv, const uint8_t *addr)
orig_node->bat_priv = bat_priv;
memcpy(orig_node->orig, addr, ETH_ALEN);
orig_node->router = NULL;
+ orig_node->tt_crc = 0;
+ atomic_set(&orig_node->last_ttvn, 0);
orig_node->tt_buff = NULL;
orig_node->tt_buff_len = 0;
atomic_set(&orig_node->tt_size, 0);