batman-adv: protect bonding with rcu locks
authorSimon Wunderlich <siwu@hrz.tu-chemnitz.de>
Wed, 19 Jan 2011 20:01:43 +0000 (20:01 +0000)
committerMarek Lindner <lindner_marek@yahoo.de>
Sat, 5 Mar 2011 11:50:01 +0000 (12:50 +0100)
commita4c135c561106c397bae33455acfca4aa8065a30
tree09613dd5443fb6abfdab5b851eccdd610d1b0783
parent2ae2daf6c3f23364862a7d4f2ca79eab041b701b
batman-adv: protect bonding with rcu locks

bonding / alternating candidates need to be secured by rcu locks
as well. This patch therefore converts the bonding list
from a plain pointer list to a rcu securable lists and references
the bonding candidates.

Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
net/batman-adv/hard-interface.c
net/batman-adv/originator.c
net/batman-adv/originator.h
net/batman-adv/routing.c
net/batman-adv/routing.h
net/batman-adv/types.h
net/batman-adv/unicast.c