diff options
author | Mike Marciniszyn <mike.marciniszyn@intel.com> | 2019-06-13 08:30:52 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-09-16 08:23:21 +0200 |
commit | bef755d188f5482221c5253ba3a515e8e93bc944 (patch) | |
tree | 20ce38cf7582c54d627b1325b00b01131df150a1 /include/scsi | |
parent | 9d3d11319bd20c7d8935f9368dc5566867b5e203 (diff) | |
download | linux-stable-bef755d188f5482221c5253ba3a515e8e93bc944.tar.gz linux-stable-bef755d188f5482221c5253ba3a515e8e93bc944.tar.bz2 linux-stable-bef755d188f5482221c5253ba3a515e8e93bc944.zip |
IB/{rdmavt, qib, hfi1}: Convert to new completion API
Convert all completions to use the new completion routine that
fixes a race between post send and completion where fields from
a SWQE can be read after SWQE has been freed.
This patch also addresses issues reported in
https://marc.info/?l=linux-kernel&m=155656897409107&w=2.
The reserved operation path has no need for any barrier.
The barrier for the other path is addressed by the
smp_load_acquire() barrier.
Cc: Andrea Parri <andrea.parri@amarulasolutions.com>
Reviewed-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/scsi')
0 files changed, 0 insertions, 0 deletions