]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sdp: SendSM wasn't sent sometimes after getting SrcAvailCancel
authorAmir Vadai <amirv@mellanox.co.il>
Thu, 25 Feb 2010 09:43:03 +0000 (11:43 +0200)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 6 Oct 2015 12:04:49 +0000 (05:04 -0700)
commitac4125050b06fea543c9fb2ac6de9d74979697db
treec4f67b66288fbe0bd22c69b51a640d3b525931ce
parent07440c9b10b5813d056793c7f04c894a7f475074
sdp: SendSM wasn't sent sometimes after getting SrcAvailCancel

* skb was freed if rx_sa is aborted - preventing SendSM
  to be sent.
* Didn't update rx_sa->used in case of SrcAvailCancel
  and therefore not sending RdmaRdCompl.
  This also caused the next read to fail because offset
  wasn't updated

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