]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Destroy the back channel when we destroy the host transport
authorTrond Myklebust <trondmy@gmail.com>
Thu, 17 Oct 2019 13:02:21 +0000 (09:02 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 30 Oct 2019 16:04:35 +0000 (12:04 -0400)
commiteed66408a6fe38fffc70bb1c88d31ef869fca950
tree852233b875cc79b84abc36c64ee0c7e262831d28
parent996e33cb2e5fc792987c6ca194868f09005ea077
SUNRPC: Destroy the back channel when we destroy the host transport

When we're destroying the host transport mechanism, we should ensure
that we do not leak memory by failing to release any back channel
slots that might still exist.

Reported-by: Neil Brown <neilb@suse.de>
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
include/linux/sunrpc/bc_xprt.h
net/sunrpc/backchannel_rqst.c
net/sunrpc/xprt.c