From: Michael S. Tsirkin Date: Fri, 2 Jul 2010 16:32:55 +0000 (+0000) Subject: virtio_net: do not reschedule rx refill forever X-Git-Tag: v2.6.35-rc5~14^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1788f49548860fa1c861ee3454d47b466c877e43;p=pandora-kernel.git virtio_net: do not reschedule rx refill forever We currently fill all of RX ring, then add_buf returns ENOSPC, which gets mis-detected as an out of memory condition and causes us to reschedule the work, and so on forever. Fix this by oom = err == -ENOMEM; Signed-off-by: Michael S. Tsirkin Signed-off-by: Rusty Russell Cc: stable@kernel.org # .34.x Signed-off-by: David S. Miller --- Reading git-diff-tree failed