]> www.infradead.org Git - users/jedix/linux-maple.git/commit
SDP bug647 - Validate ChRcvBuf range and add comments
authorJim Mott <jim@mellanox.com>
Tue, 23 Oct 2007 17:57:33 +0000 (10:57 -0700)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 6 Oct 2015 12:04:09 +0000 (05:04 -0700)
commit859b604e7da69f65edc9dce711d32cba3e33ce02
tree718f5c4c75342f75841dc657d290df7ee92f8810
parent9563c51c8b4a3c3e43e8263e943300aae1527398
SDP bug647 - Validate ChRcvBuf range and add comments

Clean up the buffer resize code to comply with CA4-83:
  Upon receipt of ChRcvBuf message, the remote peer shall not
change the buffer size in the direction opposite of that
requested.

Also add some comments and pretty up the code.

Signed-off-by: Jim Mott <jim@mellanox.com>
drivers/infiniband/ulp/sdp/sdp.h
drivers/infiniband/ulp/sdp/sdp_bcopy.c
drivers/infiniband/ulp/sdp/sdp_cma.c
drivers/infiniband/ulp/sdp/sdp_main.c