aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2012-08-14 13:18:53 +0000
committerRoland Dreier <[email protected]>2012-08-15 19:00:48 +0000
commit220329916c72ee3d54ae7262b215a050f04a18fc (patch)
tree0d89f6e3cc8f17b070c16665d3df4e883fda9ddc /arch/powerpc/lib/code-patching.c
parentLinux 3.6-rc1 (diff)
downloadkernel-220329916c72ee3d54ae7262b215a050f04a18fc.tar.gz
kernel-220329916c72ee3d54ae7262b215a050f04a18fc.zip
IB/srp: Fix a race condition
Avoid a crash caused by the scmnd->scsi_done(scmnd) call in srp_process_rsp() being invoked with scsi_done == NULL. This can happen if a reply is received during or after a command abort. Reported-by: Joseph Glanville <[email protected]> Reference: http://marc.info/?l=linux-rdma&m=134314367801595 Cc: <[email protected]> Acked-by: David Dillow <[email protected]> Signed-off-by: Bart Van Assche <[email protected]> Signed-off-by: Roland Dreier <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions