]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite7dbdefba872fa94440dabff5907c30ddb6a9569
tree09613dd5443fb6abfdab5b851eccdd610d1b0783
parentabb0c861de6bcbbe977d2a1cd4bf02926cd7593c
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