summaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorMike Marciniszyn <mike.marciniszyn@intel.com>2019-06-13 15:30:52 +0300
committerDoug Ledford <dledford@redhat.com>2019-06-21 05:35:09 +0300
commit4a9ceb7dbadf9e1435644b1f49720ee87431ce26 (patch)
tree8a77c25eb30c30d7c27d6781cd3584c35ea1b3a8 /net/switchdev/switchdev.c
parentf56044d686c82bd31713fc0398d68e322813dc62 (diff)
downloadlinux-4a9ceb7dbadf9e1435644b1f49720ee87431ce26.tar.xz
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 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions