From: Sven Eckelmann Date: Sat, 18 Sep 2010 19:01:14 +0000 (+0200) Subject: Staging: batman-adv: wait for call_rcu before unloading module X-Git-Tag: v2.6.37-rc1~60^2~3^2~551 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67c3b705934af93a09a0f369346c2561499b73c4;p=pandora-kernel.git Staging: batman-adv: wait for call_rcu before unloading module synchronize_rcu respective synchronize_net only waits for the rcu grace period to elapse and we may fail to finish the calls which were made to call_rcu in that time. In result the module could be unloaded during the execution of the RCU callbacks. rcu_barrier[1] will now wait for all outstanding RCU callbacks to finish before continuing. [1] Documentation/RCU/rcubarrier.txt Signed-off-by: Sven Eckelmann Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed