From: Trond Myklebust Date: Mon, 13 Nov 2006 21:23:44 +0000 (-0500) Subject: SUNRPC: Fix a potential race in rpc_wake_up_task() X-Git-Tag: v2.6.20-rc1~34^2~412^2~67 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8aca67f0ae2d8811165c22326825a645cc8e1b48;p=pandora-kernel.git SUNRPC: Fix a potential race in rpc_wake_up_task() Use RCU to ensure that we can safely call rpc_finish_wakeup after we've called __rpc_do_wake_up_task. If not, there is a theoretical race, in which the rpc_task finishes executing, and gets freed first. Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed