IB/srpt: Disable RDMA access by the initiator
authorBart Van Assche <bart.vanassche@wdc.com>
Wed, 3 Jan 2018 21:39:15 +0000 (13:39 -0800)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 4 Jan 2018 03:07:21 +0000 (20:07 -0700)
commitbec40c26041de61162f7be9d2ce548c756ce0f65
tree4f4bafb4b8c0c54f60d797cf19737280f6608f0a
parentf8978bd95cf92f869f3d9b34c1b699f49253b8c6
IB/srpt: Disable RDMA access by the initiator

With the SRP protocol all RDMA operations are initiated by the target.
Since no RDMA operations are initiated by the initiator, do not grant
the initiator permission to submit RDMA reads or writes to the target.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/ulp/srpt/ib_srpt.c