]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita532333a5e75b067a65bebaedea5c0844ee0e447
tree4f4bafb4b8c0c54f60d797cf19737280f6608f0a
parent9fa34977a99f3430bfcb8ff29243f0b45fed5d4a
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