NFSD/SUNRPC: Fix memory leak for the backchannel
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v1 Latest posting 2/25 patches 1 replyIn review
- v1 posting 1/25 patches 5 repliesSuperseded
Patches in v1 posting 2/2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | NFSD: Using free_conn free connectionfs/ | +2 | 0 replies | |
| 2/5 | NFSD: Free backchannel xprt in bc_destroynet/ | +4 | 0 replies | |
| 3/5 | SUNRPC: New helper for creating client with rpc_xprtinclude/ net/ | +35 | 0 replies | |
| 4/5 | NFSD/SUNRPC: Check rpc_xprt out of xs_setup_bc_tcpfs/ include/ net/ +1 more | +30 | 0 replies | |
| 5/5 | SUNRPC: Clear xpt_bc_xprt if xs_setup_bc_tcp failednet/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5][RESEND]NFSD/SUNRPC: Fix memory leak for the backchannel
When using pynfs test-site, I found some memory leak for the backchannel.
Kinglong Mee (5):
NFSD: Using free_conn free connection
NFSD: Free backchannel xprt in bc_destroy
SUNRPC: New helper for creating client with rpc_xprt NFSD/SUNRPC: Check rpc_xprt out of xs_setup_bc_tcp
SUNRPC: Clear xpt_bc_xprt if xs_setup_bc_tcp failed
fs/nfsd/nfs4callback.c | 19 ++++++++++++++- fs/nfsd/nfs4state.c | 3 ++- include/linux/sunrpc/clnt.h | 2 ++ include/linux/sunrpc/xprt.h | 13 +++++++++- net/sunrpc/clnt.c | 58 ++++++++++++++++++++++++++------------------- net/sunrpc/xprt.c | 12 ---------- net/sunrpc/xprtsock.c | 15 +++++------- 7 files changed, 73 insertions(+), 49 deletions(-)
Signature · 1 line
1.8.5.3