SUNRPC: Fix missing release socket in rpc_sockname()
stable inclusion from stable-v4.19.270 commit 1f356afe521dd4d92b636761df098c068800093d category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I6DPF8 CVE: NA -------------------------------- [ Upstream commit 50fa355b ] socket dynamically created is not released when getting an unintended address family type in rpc_sockname(), direct to out_release for calling sock_release(). Fixes: 2e738fdc ("SUNRPC: Add API to acquire source address") Signed-off-by:Wang ShaoBo <bobo.shaobowang@huawei.com> Signed-off-by:
Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
Yongqiang Liu <liuyongqiang13@huawei.com>
Loading
Please sign in to comment