SUNRPC: The TCP back channel mustn't disappear while requests are outstanding
authorTrond Myklebust <trondmy@gmail.com>
Thu, 17 Oct 2019 13:02:19 +0000 (09:02 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 30 Oct 2019 16:04:35 +0000 (12:04 -0400)
commit875f0706accd6501c3209bb99df8573171fb5d75
treee24cf1a2f3194e97452a8a8907ffbfd8e543cb0c
parent9e5eefba3d098d66defa1ce59a34a41a96f49771
SUNRPC: The TCP back channel mustn't disappear while requests are outstanding

If there are TCP 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: 2ea24497a1b3 ("SUNRPC: RPC callbacks may be split across several..")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/backchannel_rqst.c