summaryrefslogtreecommitdiffstats
path: root/drivers/staging/adis16255
diff options
context:
space:
mode:
authorSven Eckelmann2010-09-18 21:01:15 +0200
committerGreg Kroah-Hartman2010-09-21 01:29:49 +0200
commitaf2ac7bfec4176cad5e04402d116b5242d759bf8 (patch)
tree444bf4077836e828c8d882ddf7c06ef17b136a38 /drivers/staging/adis16255
parentStaging: batman-adv: wait for call_rcu before unloading module (diff)
downloadkernel-qcow2-linux-af2ac7bfec4176cad5e04402d116b5242d759bf8.tar.gz
kernel-qcow2-linux-af2ac7bfec4176cad5e04402d116b5242d759bf8.tar.xz
kernel-qcow2-linux-af2ac7bfec4176cad5e04402d116b5242d759bf8.zip
Staging: batman-adv: Introduce if_list_lock to protect if_list
The update critical sections of if_list must be protected by a locking primitive other than RCU. The iterator must also be protected by the chosen locking mechanism. The rtnl_lock in hardif_remove_interfaces must also be moved outside the iterator primitive to ensure that we don't deadlock the kernel due to differently nested locks in hardif_remove_interfaces and hard_if_event. Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/adis16255')
0 files changed, 0 insertions, 0 deletions