]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sdp: BUG2158 - do not send SrcAvail too small
authorAmir Vadai <amirv@mellanox.co.il>
Wed, 27 Oct 2010 12:24:07 +0000 (14:24 +0200)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 6 Oct 2015 12:05:33 +0000 (05:05 -0700)
commit7e43b7c63b5b404a15a38b373ca2e243068c2a02
treed971e3047a3be4bee0b5c022737a2b5eb8cb518c
parentd4f1e728b1584e1dfbe37a5f15abd7f200848932
sdp: BUG2158 - do not send SrcAvail too small

- Shouldn't send SrcAvail with no RDMA payload - could happen when RLIMIT is
  too small.

- Do not crash when getting 2 SrcAvail.

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