]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sdp: Fix bug in crossing SrcAvail
authorAmir Vadai <amirv@mellanox.co.il>
Wed, 24 Feb 2010 08:59:31 +0000 (10:59 +0200)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 6 Oct 2015 12:04:48 +0000 (05:04 -0700)
commitf1629caa8c69d64d51a2c1b190fb6c6ea0cee411
treeacb04eb42b7134b7483f66ee2aed52e7bc2a57d3
parent1038481f32764029f8240c60f76939129ba79540
sdp: Fix bug in crossing SrcAvail

* Handle RdmaRdCompl in interrupt, before splitted to two Q's
  This way the handling is sequencial, and no race could occure
  between RdmaRdCompl and SrcAvailCancel
* Fixed an error when checking that RdmaRdCompl is not for
  old SrcAvail

Signed-off-by: Amir Vadai <amirv@mellanox.co.il>
drivers/infiniband/ulp/sdp/sdp_rx.c
drivers/infiniband/ulp/sdp/sdp_zcopy.c