]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd152287ebf26a034bedee5c6a9dd4913ccba7da6
tree5fbcf9656666a376a80edc90c21a1de0da79e343
parent603fe3ca3a010bd15b4390f6f77ff6623cde5b04
parent3dae052d2b8b96503ad2217e32fc39a2d9fd0491
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>