Merge branch 'vsock-virtio-make-the-credit-mechanism-more-robust'
authorDavid S. Miller <davem@davemloft.net>
Fri, 18 Oct 2019 17:19:43 +0000 (10:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Oct 2019 17:19:43 +0000 (10:19 -0700)
commite381d2b4e25306140fdedfd802f0913b901a2d31
tree5fbcf9656666a376a80edc90c21a1de0da79e343
parent2e978795bb4c14293bf6ecf32621d32529706aef
parentae6fcfbf5f03de3407b809aaee319330d3dc7f8b
Merge branch 'vsock-virtio-make-the-credit-mechanism-more-robust'

Stefano Garzarella says:

====================
vsock/virtio: make the credit mechanism more robust

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.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>