Skip to content

Refix the socket leak in xs_setup_local()

Wang Hai linux-nfs lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Revert "SUNRPC: Ensure gss-proxy connects on setup"include/linux/sunrpc/clnt.h net/sunrpc/auth_gss/gss_rpc_upcall.c net/sunrpc/clnt.c+1 -50 replies
2/3Revert "Revert "SUNRPC: attempt AF_LOCAL connect on setup""net/sunrpc/xprtsock.c+3 -00 replies
3/3SUNRPC: Fix local socket leak in xs_setup_local()net/sunrpc/xprtsock.c+15 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Refix the socket leak in xs_setup_local()

Patch1 and patch2 roll back the wrong solution to fix socket leaks.

Patch3 adds safe teardown mechanism to re-fix socket leaks.

Wang Hai (3):
Revert "SUNRPC: Ensure gss-proxy connects on setup" Revert "Revert "SUNRPC: attempt AF_LOCAL connect on setup""
SUNRPC: Fix local socket leak in xs_setup_local()

 include/linux/sunrpc/clnt.h          |  1 -
 net/sunrpc/auth_gss/gss_rpc_upcall.c |  2 +-
 net/sunrpc/clnt.c                    |  3 ---
 net/sunrpc/xprtsock.c                | 19 ++++++++++++++++++-
 4 files changed, 19 insertions(+), 6 deletions(-)
Signature · 1 line
2.17.1