Skip to content
Snippets Groups Projects
Commit e10b5170 authored by Trond Myklebust's avatar Trond Myklebust Committed by Yongqiang Liu
Browse files

Revert "SUNRPC: attempt AF_LOCAL connect on setup"

mainline inclusion
from mainline-v5.18-rc6
commit a3d0562d4dc039bca39445e1cddde7951662e17d
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/I57MRF


CVE: NA

-------------------------------------------

This reverts commit 7073ea87.

We must not try to connect the socket while the transport is under
construction, because the mechanisms to safely tear it down are not in
place. As the code stands, we end up leaking the sockets on a connection
error.

Reported-by: default avatarwanghai (M) <wanghai38@huawei.com>
Cc: stable@vger.kernel.org
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: default avatarWang Hai <wanghai38@huawei.com>
Reviewed-by: default avatarZhang Xiaoxu <zhangxiaoxu5@huawei.com>
Reviewed-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: default avatarYongqiang Liu <liuyongqiang13@huawei.com>
parent 7734aa05
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment