[PATCH net 0/2] vsock: some fixes due to transport de-assignment
From: Stefano Garzarella
Date: Wed Jan 08 2025 - 13:06:34 EST
This series includes two patches discussed in the thread started by
Hyunwoo Kim a few weeks ago [1].
The first patch is a fix more appropriate to the problem reported in
that thread, the second patch on the other hand is a related fix but
of a different problem highlighted by Michal Luczaj. It's present only
in vsock_bpf and already handled in af_vsock.c
Hyunwoo Kim, Michal, if you can test and report your Tested-by that
would be great!
[1] https://lore.kernel.org/netdev/Z2K%2FI4nlHdfMRTZC@v4bel-B760M-AORUS-ELITE-AX/
Stefano Garzarella (2):
vsock/virtio: discard packets if the transport changes
vsock/bpf: return early if transport is not assigned
net/vmw_vsock/virtio_transport_common.c | 7 +++++--
net/vmw_vsock/vsock_bpf.c | 9 +++++++++
2 files changed, 14 insertions(+), 2 deletions(-)
--
2.47.1