diff options
author | Marek Lindner <lindner_marek@yahoo.de> | 2011-01-19 20:01:42 +0000 |
---|---|---|
committer | Marek Lindner <lindner_marek@yahoo.de> | 2011-03-05 12:49:59 +0100 |
commit | 16b1aba849eeb45d51a5de731cf103143439ffe1 (patch) | |
tree | 2bbda8638bd925014e8d6025d704cb2860d28606 /net/batman-adv/types.h | |
parent | fb778ea173fcd58b8fc3d75c674f07fab187b55f (diff) | |
download | linux-16b1aba849eeb45d51a5de731cf103143439ffe1.tar.bz2 |
batman-adv: protect originator nodes with reference counters
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Diffstat (limited to 'net/batman-adv/types.h')
-rw-r--r-- | net/batman-adv/types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/batman-adv/types.h b/net/batman-adv/types.h index d4fa727aece3..ca4d42d05912 100644 --- a/net/batman-adv/types.h +++ b/net/batman-adv/types.h @@ -86,6 +86,8 @@ struct orig_node { struct hlist_head neigh_list; struct list_head frag_list; spinlock_t neigh_list_lock; /* protects neighbor list */ + struct kref refcount; + struct bat_priv *bat_priv; unsigned long last_frag_packet; struct { uint8_t candidates; |