mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH net v2 0/5] vsock: Fix connect() races
@ 2026-09-15 13:15 Michal Luczaj
  2026-09-15 13:15 ` [PATCH net v2 1/5] vhost/vsock: Fix socket state constant Michal Luczaj
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Michal Luczaj @ 2026-09-15 13:15 UTC (permalink / raw)
  To: Stefan Hajnoczi, Stefano Garzarella, Michael S. Tsirkin,
	Jason Wang, Eugenio Pérez, David S. Miller, Xuan Zhuo,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Simon Horman,
	Asias He
  Cc: kvm, virtualization, netdev, linux-kernel, Michal Luczaj, Hyunwoo Kim

Handle racy socket changes in connect(). Plus related tweaks.

---
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 (5):
      vhost/vsock: Fix socket state constant
      vsock/virtio: Streamline socket reset on transport/PM event
      vsock: Enforce no-transport invariant for TCP_LISTEN sockets
      vsock: Do not reset a TCP_CLOSING socket
      vsock: Handle sudden TCP_CLOSE during connect

 drivers/vhost/vsock.c            |  2 +-
 net/vmw_vsock/af_vsock.c         | 32 ++++++++++++++++++--------------
 net/vmw_vsock/virtio_transport.c |  3 +++
 3 files changed, 22 insertions(+), 15 deletions(-)
---
base-commit: 0654f4dba1fbc697f2653aba30cd68587fcbf10e
change-id: 20260820-vsock-connect-reset-closing-98dd28769d7f

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


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

end of thread, other threads:[~2026-09-16 23:39 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-15 13:15 [PATCH net v2 0/5] vsock: Fix connect() races Michal Luczaj
2026-09-15 13:15 ` [PATCH net v2 1/5] vhost/vsock: Fix socket state constant Michal Luczaj
2026-09-16 12:28   ` Stefano Garzarella
2026-09-15 13:15 ` [PATCH net v2 2/5] vsock/virtio: Streamline socket reset on transport/PM event Michal Luczaj
2026-09-16 12:30   ` Stefano Garzarella
2026-09-16 23:39   ` netdev-bot+sashiko
2026-09-15 13:15 ` [PATCH net v2 3/5] vsock: Enforce no-transport invariant for TCP_LISTEN sockets Michal Luczaj
2026-09-16 12:30   ` Stefano Garzarella
2026-09-16 23:39   ` netdev-bot+sashiko
2026-09-15 13:15 ` [PATCH net v2 4/5] vsock: Do not reset a TCP_CLOSING socket Michal Luczaj
2026-09-16 12:30   ` Stefano Garzarella
2026-09-16 23:39   ` netdev-bot+sashiko
2026-09-15 13:15 ` [PATCH net v2 5/5] vsock: Handle sudden TCP_CLOSE during connect Michal Luczaj
2026-09-16 12:31   ` Stefano Garzarella
2026-09-16 23:39   ` netdev-bot+sashiko

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®