Re: [PATCH 3/3] UML - Correctly handle skb allocation failures

2007-09-26 Thread Andrew Morton
On Wed, 26 Sep 2007 17:46:13 -0400 Jeff Dike <[EMAIL PROTECTED]> wrote: > Handle memory allocation failures when reading packets. > > We have to read something from the host, even if we can't allocate any > memory. If we don't, the host side of the device may fill up and stop > delivering

[PATCH 3/3] UML - Correctly handle skb allocation failures

2007-09-26 Thread Jeff Dike
Handle memory allocation failures when reading packets. We have to read something from the host, even if we can't allocate any memory. If we don't, the host side of the device may fill up and stop delivering interrupts because no new packets can be queued. A single sk_buff is allocated whenever

[PATCH 3/3] UML - Correctly handle skb allocation failures

2007-09-26 Thread Jeff Dike
Handle memory allocation failures when reading packets. We have to read something from the host, even if we can't allocate any memory. If we don't, the host side of the device may fill up and stop delivering interrupts because no new packets can be queued. A single sk_buff is allocated whenever

Re: [PATCH 3/3] UML - Correctly handle skb allocation failures

2007-09-26 Thread Andrew Morton
On Wed, 26 Sep 2007 17:46:13 -0400 Jeff Dike [EMAIL PROTECTED] wrote: Handle memory allocation failures when reading packets. We have to read something from the host, even if we can't allocate any memory. If we don't, the host side of the device may fill up and stop delivering interrupts