Thread (2 messages) 2 messages, 2 authors, 2021-12-02

Re: [PATCH RESEND net] net/smc: Keep smc_close_final rc during active close

flat view

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-12-02 12:20:39

Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller [off-list ref]:

On Wed,  1 Dec 2021 14:42:16 +0800 you wrote:
When smc_close_final() returns error, the return code overwrites by
kernel_sock_shutdown() in smc_close_active(). The return code of
smc_close_final() is more important than kernel_sock_shutdown(), and it
will pass to userspace directly.

Fix it by keeping both return codes, if smc_close_final() raises an
error, return it or kernel_sock_shutdown()'s.

[...]
Here is the summary with links:
  - [RESEND,net] net/smc: Keep smc_close_final rc during active close
    https://git.kernel.org/netdev/net/c/00e158fb91df

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help