From: Bruce Rogers Date: Thu, 10 Feb 2011 19:03:31 +0000 (-0800) Subject: virtio_net: Add schedule check to napi_enable call X-Git-Tag: v2.6.38-rc5~50^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e9d08ec0a68f6faf718d5a7e050fe5ca0ba004f;p=pandora-kernel.git virtio_net: Add schedule check to napi_enable call Under harsh testing conditions, including low memory, the guest would stop receiving packets. With this patch applied we no longer see any problems in the driver while performing these tests for extended periods of time. Make sure napi is scheduled subsequent to each napi_enable. Signed-off-by: Bruce Rogers Signed-off-by: Olaf Kirch Cc: stable@kernel.org Signed-off-by: Rusty Russell Signed-off-by: David S. Miller --- Reading git-diff-tree failed