[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100702.222945.48498211.davem@davemloft.net>
Date: Fri, 02 Jul 2010 22:29:45 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: rusty@...tcorp.com.au
Cc: netdev@...r.kernel.org, mst@...hat.com
Subject: Re: [PATCH 1/2] virtio_net: do not reschedule rx refill forever
From: Rusty Russell <rusty@...tcorp.com.au>
Date: Sat, 3 Jul 2010 12:32:55 +1000
> From: "Michael S. Tsirkin" <mst@...hat.com>
>
> 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 <mst@...hat.com>
> Signed-off-by: Rusty Russell <rusty@...tcorp.com.au>
> Cc: stable@...nel.org # .34.x
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists