Re: [PATCH net 0/2] vsock/virtio: make the credit mechanism more robust

From: David Miller
Date: Fri Oct 18 2019 - 13:20:08 EST


From: Stefano Garzarella <sgarzare@xxxxxxxxxx>
Date: Thu, 17 Oct 2019 14:44:01 +0200

> This series makes the credit mechanism implemented in the
> virtio-vsock devices more robust.
> Patch 1 sends an update to the remote peer when the buf_alloc
> change.
> Patch 2 prevents a malicious peer (especially the guest) can
> consume all the memory of the other peer, discarding packets
> when the credit available is not respected.

Series applied, thanks.