Re: [RFC PATCH 05/13] vsock/virtio: add transport parameter to the virtio_transport_reset_no_sock()

2019-10-09 Thread Stefan Hajnoczi
On Fri, Sep 27, 2019 at 01:26:55PM +0200, Stefano Garzarella wrote: > We are going to add 'struct vsock_sock *' parameter to > virtio_transport_get_ops(). > > In some cases, like in the virtio_transport_reset_no_sock(), > we don't have any socket assigned to the packet received, > so we can't use

[RFC PATCH 05/13] vsock/virtio: add transport parameter to the virtio_transport_reset_no_sock()

2019-09-27 Thread Stefano Garzarella
We are going to add 'struct vsock_sock *' parameter to virtio_transport_get_ops(). In some cases, like in the virtio_transport_reset_no_sock(), we don't have any socket assigned to the packet received, so we can't use the virtio_transport_get_ops(). In order to allow virtio_transport_reset_no_soc