projects
/
wrapfs-4.13.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7aa88d
)
NFSv4.1: Fix a request leak on the back channel
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Thu, 31 May 2012 19:26:38 +0000
(15:26 -0400)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 22 Jun 2012 18:36:54 +0000
(11:36 -0700)
commit
b3b02ae5865c2dcd506322e0fc6def59a042e72f
upstream.
If the call to svc_process_common() fails, then the request
needs to be freed before we can exit bc_svc_process.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/sunrpc/svc.c
patch
|
blob
|
history
diff --git
a/net/sunrpc/svc.c
b/net/sunrpc/svc.c
index 4153846984ac72be3a0f97b1ede45799128be863..234ee39000a1eb46bd5e61eb1d59d3f771fbdd7c 100644
(file)
--- a/
net/sunrpc/svc.c
+++ b/
net/sunrpc/svc.c
@@
-1379,7
+1379,8
@@
bc_svc_process(struct svc_serv *serv, struct rpc_rqst *req,
sizeof(req->rq_snd_buf));
return bc_send(req);
} else {
- /* Nothing to do to drop request */
+ /* drop request */
+ xprt_free_bc_request(req);
return 0;
}
}