From: Gerard Garcia <ggar...@deic.uab.cat> This patch applies over the stefanha/vsock-next repository: https://github.com/stefanha/linux/tree/vsock-next
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. 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 | 55 +++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 45 insertions(+), 10 deletions(-) -- 2.9.1