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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Jan 2018 08:38:50 +0000 (09:38 +0100)
commit30191718645d24c5b213f1ab3ae531a585a13f21
treee898561cf316d20bd4901249ba34579d5ffe6767
parent02f201f78fb9da5d140abc17cf9b3a196b1b42dd
IB/srpt: Disable RDMA access by the initiator

commit bec40c26041de61162f7be9d2ce548c756ce0f65 upstream.

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>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/infiniband/ulp/srpt/ib_srpt.c