Re: [PATCH v3 1/1] Add timer to handle OOM situations

2016-08-04 Thread Stefan Hajnoczi
On Tue, Aug 02, 2016 at 07:23:26PM +0200, ggar...@abra.uab.cat wrote: > From: Gerard Garcia Missing commit description. From your cover letter: 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 disc

[PATCH v3 1/1] Add timer to handle OOM situations

2016-08-02 Thread ggarcia
From: Gerard Garcia 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. Signed-off-by: Gerard Garcia --- drivers/vhost/vsock.c | 52 +-- 1