Thread (3 messages) flat view 3 messages, 3 authors, 2021-11-26

Re: [PATCH net v3] net/smc: Don't call clcsock shutdown twice when smc shutdown

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-11-26 19:56:40
Also in: linux-rdma, linux-s390

Hello:

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

On Fri, 26 Nov 2021 10:41:35 +0800 you wrote:
When applications call shutdown() with SHUT_RDWR in userspace,
smc_close_active() calls kernel_sock_shutdown(), and it is called
twice in smc_shutdown().

This fixes this by checking sk_state before do clcsock shutdown, and
avoids missing the application's call of smc_shutdown().

[...]
Here is the summary with links:
  - [net,v3] net/smc: Don't call clcsock shutdown twice when smc shutdown
    https://git.kernel.org/netdev/net/c/bacb6c1e4769

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