Comment 66 for bug 579276

Revision history for this message
nutznboltz (nutznboltz-deactivatedaccount) wrote :

$ git show-branch
[master] Merge branch 'usb-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6

$ git log drivers/net/virtio_net.c
commit 3e9d08ec0a68f6faf718d5a7e050fe5ca0ba004f
Author: Bruce Rogers <email address hidden>
Date: Thu Feb 10 11:03:31 2011 -0800

    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 <email address hidden>
    Signed-off-by: Olaf Kirch <email address hidden>
    Cc: <email address hidden>
    Signed-off-by: Rusty Russell <email address hidden>
    Signed-off-by: David S. Miller <email address hidden>