]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-rdma: Check remotely invalidated rkey matches our expected rkey
authorSagi Grimberg <sagi@grimberg.me>
Thu, 23 Nov 2017 15:35:24 +0000 (17:35 +0200)
committerChristoph Hellwig <hch@lst.de>
Sun, 26 Nov 2017 14:33:32 +0000 (15:33 +0100)
commit764df80718252566a6d595500adabd65a9b42c2a
tree9df8af1c2c32d83f84b627b74a3ccf445f4d366a
parenta76579bae8d566684d4ba6838bd54da57473b315
nvme-rdma: Check remotely invalidated rkey matches our expected rkey

If we got a remote invalidation on a bogus rkey, this is a protocol error.
Fail the connection in this case.

Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/rdma.c