projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2336745
)
NFSD: Free backchannel xprt in bc_destroy
author
Kinglong Mee
<kinglongmee@gmail.com>
Mon, 24 Mar 2014 03:58:16 +0000
(11:58 +0800)
committer
J. Bruce Fields
<bfields@redhat.com>
Sun, 30 Mar 2014 14:47:35 +0000
(10:47 -0400)
Backchannel xprt isn't freed right now.
Free it in bc_destroy, and put the reference of THIS_MODULE.
Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/xprtsock.c
patch
|
blob
|
blame
|
history
diff --git
a/net/sunrpc/xprtsock.c
b/net/sunrpc/xprtsock.c
index 4b921a92699453f874d54bf8b07506fc9e18cc56..63ae657f255bf728c5b0780d0bace7feacde7a33 100644
(file)
--- 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 = {
This page took
0.025937 seconds
and
5
git commands to generate.