Commit 63a5df9b authored by Bruce Rogers's avatar Bruce Rogers Committed by Greg Kroah-Hartman
Browse files

virtio_net: Add schedule check to napi_enable call



commit 3e9d08ec upstream.

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: default avatarBruce Rogers <brogers@novell.com>
Signed-off-by: default avatarOlaf Kirch <okir@suse.de>
Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 2e0d86e3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment