diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-11-13 16:23:44 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-12-06 10:46:26 -0500 |
commit | 8aca67f0ae2d8811165c22326825a645cc8e1b48 (patch) | |
tree | 19e82f4bc7b4f865a9dcf4744e7c224ea517ba10 /include/linux/serial.h | |
parent | e6b3c4db6fbcd0d33720696f37790d6b8be12313 (diff) | |
download | blackbird-op-linux-8aca67f0ae2d8811165c22326825a645cc8e1b48.tar.gz blackbird-op-linux-8aca67f0ae2d8811165c22326825a645cc8e1b48.zip |
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 <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/serial.h')
0 files changed, 0 insertions, 0 deletions