]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: The RDMA back channel mustn't disappear while requests are outstanding
authorTrond Myklebust <trondmy@gmail.com>
Thu, 17 Oct 2019 13:02:20 +0000 (09:02 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 30 Oct 2019 16:04:35 +0000 (12:04 -0400)
commit996e33cb2e5fc792987c6ca194868f09005ea077
tree278d71e0f610dc1b3ec50d6da243dd3536934195
parent5a52d54a3f54725635138c8db6b3affa9e0fcf12
SUNRPC: The RDMA back channel mustn't disappear while requests are outstanding

If there are RDMA back channel requests being processed by the
server threads, then we should hold a reference to the transport
to ensure it doesn't get freed from underneath us.

Reported-by: Neil Brown <neilb@suse.de>
Fixes: f0bd49ebbf4b ("xprtrdma: Handle incoming backward direction RPC calls")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtrdma/backchannel.c