mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH net v4] vsock: fix connect() races
@ 2026-10-05  0:26 Michal Luczaj
  2026-10-05  0:26 ` [PATCH net v4] vsock: treat TCP_CLOSING as once-established Michal Luczaj
  0 siblings, 1 reply; 4+ messages in thread
From: Michal Luczaj @ 2026-10-05  0:26 UTC (permalink / raw)
  To: Stefan Hajnoczi, Stefano Garzarella, Michael S. Tsirkin,
	Jason Wang, Eugenio Pérez, David S. Miller, Xuan Zhuo,
	Jakub Kicinski, Paolo Abeni, Simon Horman, Eric Dumazet
  Cc: kvm, virtualization, netdev, linux-kernel, Hyunwoo Kim, Michal Luczaj

Handle a racy socket change in connect(). This iteration focuses on a
single issue and aims for minimal changes.

I'm keeping this as a 1-patch series so as not to confuse the patchwork.

---
Changes in v4:
- Defer all other patches to net-next (Stefano)
- Link to v3: https://patch.msgid.link/20260922-vsock-connect-reset-closing-v3-0-78907b8200d4@rbox.co

Changes in v3:
- Change the transport assignment life cycle (Stafano)
- Expand comments (Stafano)
- CC: drop bouncing address
- Link to v2: https://patch.msgid.link/20260915-vsock-connect-reset-closing-v2-0-a1d9abb472f7@rbox.co

Changes in v2:
- CC: drop bouncing addresses
- Add more related fixes
- Handle ENOBUFS (Bobby)
- Consume sk_err (Stefano)
- Link to v1: https://patch.msgid.link/20260909-vsock-connect-reset-closing-v1-1-50298b9ccfbf@rbox.co

---
Michal Luczaj (1):
      vsock: treat TCP_CLOSING as once-established

 net/vmw_vsock/af_vsock.c | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)
---
base-commit: 6dc989ea46b96ce170840174b4a38c4a387fb005
change-id: 20260820-vsock-connect-reset-closing-98dd28769d7f

Best regards,
--  
Michal Luczaj <mhal@rbox.co>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-10-07  9:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-05  0:26 [PATCH net v4] vsock: fix connect() races Michal Luczaj
2026-10-05  0:26 ` [PATCH net v4] vsock: treat TCP_CLOSING as once-established Michal Luczaj
2026-10-07  0:27   ` netdev-bot+sashiko
2026-10-07  9:24     ` Michal Luczaj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®