Skip to content
Commit e381d2b4 authored by David S. Miller's avatar David S. Miller
Browse files

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: default avatarDavid S. Miller <davem@davemloft.net>
parents 2e978795 ae6fcfbf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment