Re: [PATCH 1/1] virtio-vsock: Fix unbound rx buffer

2016-08-04 Thread Stefan Hajnoczi
On Mon, Aug 01, 2016 at 07:18:21PM +0200, ggar...@abra.uab.cat wrote: Besides the other locking issue that was already mentioned: > diff --git a/net/vmw_vsock/virtio_transport_common.c > b/net/vmw_vsock/virtio_transport_common.c > index a53b3a1..3c38d43 100644 > --- a/net/vmw_vsock/virtio_transp

Re: [PATCH 1/1] virtio-vsock: Fix unbound rx buffer

2016-08-03 Thread David Miller
From: ggar...@abra.uab.cat Date: Mon, 01 Aug 2016 19:18:21 +0200 > From: Gerard Garcia > > Reset connection and close rx socket when the sender is ignoring our > announced available buffer. > > Signed-off-by: Gerard Garcia > --- > net/vmw_vsock/virtio_transport_common.c | 22

[PATCH 1/1] virtio-vsock: Fix unbound rx buffer

2016-08-01 Thread ggarcia
From: Gerard Garcia Reset connection and close rx socket when the sender is ignoring our announced available buffer. Signed-off-by: Gerard Garcia --- net/vmw_vsock/virtio_transport_common.c | 22 -- 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/net/vmw_vso