From: Gerard Garcia <ggar...@deic.uab.cat> This patch applies over VSOCK RFC v6.
Once the guest puts a packet in the virtqueue it is guaranteed that it will be delivered. This patch addresses the problem of packets being discarded when there is not available memory in the host. v4: * Fix style. v3: * Avoid race condition when freeing timer. v2: * Use of ERR_PTR/PTR_ERR/IS_ERR * Timer cleaned on device release. * Do not process more packets on error. Gerard Garcia (1): Add timer to handle OOM situations drivers/vhost/vsock.c | 49 ++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 40 insertions(+), 9 deletions(-) -- 2.9.1