diff --git a/net/sunrpc/xprtsock.c b/net/sunrpc/xprtsock.c index 4b921a92699453f874d54bf8b07506fc9e18cc56..63ae657f255bf728c5b0780d0bace7feacde7a33 100644 --- a/net/sunrpc/xprtsock.c +++ b/net/sunrpc/xprtsock.c @@ -2545,6 +2545,10 @@ static void bc_close(struct rpc_xprt *xprt) static void bc_destroy(struct rpc_xprt *xprt) { + dprintk("RPC: bc_destroy xprt %p\n", xprt); + + xs_xprt_free(xprt); + module_put(THIS_MODULE); } static struct rpc_xprt_ops xs_local_ops = {