SUNRPC: Fix missing release socket in rpc_sockname()
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: NWang ShaoBo <bobo.shaobowang@huawei.com> Signed-off-by: NTrond Myklebust <trond.myklebust@hammerspace.com>
Showing
想要评论请 注册 或 登录