summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@sandisk.com>2016-02-11 22:08:53 +0300
committerDoug Ledford <dledford@redhat.com>2016-03-01 01:12:36 +0300
commitaaf45bd83eba804adfa5c4ff5b17ca0c88884c6f (patch)
tree5bf8a5c34114da1c315d7ba59c422346d5879713 /net/unix/af_unix.c
parent8628991fbe6a9086189f55f0b33dee7f25108ecc (diff)
downloadlinux-aaf45bd83eba804adfa5c4ff5b17ca0c88884c6f.tar.xz
IB/srpt: Detect session shutdown reliably
The Last WQE Reached event is only generated after one or more work requests have been queued on the QP associated with a session. Since session shutdown can start before any work requests have been queued, use a zero-length RDMA write to wait until a QP has been drained. Additionally, rework the code for closing and disconnecting a session. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Cc: Sagi Grimberg <sagig@mellanox.com> Cc: Alex Estrin <alex.estrin@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions