Messages in this thread | | | Subject | Re: [PATCH net] vsock/virtio: discard packets only when socket is really closed | From | patchwork-bot+netdevbpf@kernel ... | Date | Tue, 24 Nov 2020 00:50:05 +0000 |
| |
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Fri, 20 Nov 2020 11:47:36 +0100 you wrote: > Starting from commit 8692cefc433f ("virtio_vsock: Fix race condition > in virtio_transport_recv_pkt"), we discard packets in > virtio_transport_recv_pkt() if the socket has been released. > > When the socket is connected, we schedule a delayed work to wait the > RST packet from the other peer, also if SHUTDOWN_MASK is set in > sk->sk_shutdown. > This is done to complete the virtio-vsock shutdown algorithm, releasing > the port assigned to the socket definitively only when the other peer > has consumed all the packets. > > [...]
Here is the summary with links: - [net] vsock/virtio: discard packets only when socket is really closed https://git.kernel.org/netdev/net/c/3fe356d58efa
You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
| |