Re: [PATCH net] vsock/virtio: update credit only if socket is not closed

2021-02-08 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Mon, 8 Feb 2021 15:44:54 +0100 you wrote: > If the socket is closed or is being released, some resources used by > virtio_transport_space_update() such as 'vsk->trans' may be released. > > To avoid a use after free bug we s

Re: [PATCH net] vsock/virtio: update credit only if socket is not closed

2021-02-08 Thread Michael S. Tsirkin
On Mon, Feb 08, 2021 at 03:44:54PM +0100, Stefano Garzarella wrote: > If the socket is closed or is being released, some resources used by > virtio_transport_space_update() such as 'vsk->trans' may be released. > > To avoid a use after free bug we should only update the available credit > when we