lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: 
 <171999662855.24990.17495213341507066699.git-patchwork-notify@kernel.org>
Date: Wed, 03 Jul 2024 08:50:28 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Xin Long <lucien.xin@...il.com>
Cc: netdev@...r.kernel.org, linux-sctp@...r.kernel.org, davem@...emloft.net,
 kuba@...nel.org, edumazet@...gle.com, pabeni@...hat.com,
 marcelo.leitner@...il.com, david.laight@...lab.com
Subject: Re: [PATCH net-next] sctp: cancel a blocking accept when shutdown a
 listen socket

Hello:

This patch was applied to netdev/net-next.git (main)
by David S. Miller <davem@...emloft.net>:

On Mon,  1 Jul 2024 13:48:49 -0400 you wrote:
> As David Laight noticed,
> 
> "In a multithreaded program it is reasonable to have a thread blocked in
>  accept(). With TCP a subsequent shutdown(listen_fd, SHUT_RDWR) causes
>  the accept to fail. But nothing happens for SCTP."
> 
> sctp_disconnect() is eventually called when shutdown a listen socket,
> but nothing is done in this function. This patch sets RCV_SHUTDOWN
> flag in sk->sk_shutdown there, and adds the check (sk->sk_shutdown &
> RCV_SHUTDOWN) to break and return in sctp_accept().
> 
> [...]

Here is the summary with links:
  - [net-next] sctp: cancel a blocking accept when shutdown a listen socket
    https://git.kernel.org/netdev/net-next/c/cda91d5b911a

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



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ