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

From: Wang Hai
Date: Wed May 11 2022 - 09:04:17 EST


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(-)

--
2.17.1