diff options
author | Marek Lindner <lindner_marek@yahoo.de> | 2010-12-12 21:57:10 (GMT) |
---|---|---|
committer | Marek Lindner <lindner_marek@yahoo.de> | 2011-03-05 11:49:52 (GMT) |
commit | a8e7f4bc38c4a90ee308cd7f1f8604f71db59d05 (patch) | |
tree | eaad8069534691aaa06b316ce42fbeb81f380b20 /net/batman-adv/types.h | |
parent | 8d689218568174955129d0f0e9e4370a391b3609 (diff) | |
download | linux-fsl-qoriq-a8e7f4bc38c4a90ee308cd7f1f8604f71db59d05.tar.xz |
batman-adv: protect neighbor 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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/batman-adv/types.h b/net/batman-adv/types.h index 7270405..f9217d5 100644 --- a/net/batman-adv/types.h +++ b/net/batman-adv/types.h @@ -115,6 +115,7 @@ struct neigh_node { struct neigh_node *next_bond_candidate; unsigned long last_valid; unsigned long real_bits[NUM_WORDS]; + struct kref refcount; struct orig_node *orig_node; struct batman_if *if_incoming; }; |