diff options
author | Linus Lüssing <linus.luessing@web.de> | 2011-03-14 22:43:40 +0000 |
---|---|---|
committer | Sven Eckelmann <sven@narfation.org> | 2011-04-17 21:11:01 +0200 |
commit | 68003903e4eeec5288f074ff0751a381750ceb34 (patch) | |
tree | 72577cb46c0e0aaec9edb54a496002d13650f6fb /net/batman-adv/types.h | |
parent | e1a5382f978b67b5cc36eec65e6046730ce07714 (diff) | |
download | linux-68003903e4eeec5288f074ff0751a381750ceb34.tar.bz2 |
batman-adv: Protect global TQ window with a spinlock
Signed-off-by: Linus Lüssing <linus.luessing@web.de>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
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 1854cbb4c1b6..091476df4f0e 100644 --- a/net/batman-adv/types.h +++ b/net/batman-adv/types.h @@ -125,6 +125,7 @@ struct neigh_node { struct rcu_head rcu; struct orig_node *orig_node; struct hard_iface *if_incoming; + spinlock_t tq_lock; /* protects: tq_recv, tq_index */ }; |