]> 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)
commit669996add4c92476e0f8d6b4cd2bb308d1939fd7
tree852233b875cc79b84abc36c64ee0c7e262831d28
parent9edb455e6797bb50aa38ef71e62668966065ede8
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