aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/Kconfig.i386
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2007-10-16 01:27:32 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-16 09:43:08 -0700
commit605c1e57690fddbd11347ec6788ff77c527994dd (patch)
tree81a296133a6b748c0822c69416802c9429d455cc /arch/um/Kconfig.i386
parentuml: network driver MTU cleanups (diff)
downloadlinux-dev-605c1e57690fddbd11347ec6788ff77c527994dd.tar.xz
linux-dev-605c1e57690fddbd11347ec6788ff77c527994dd.zip
uml: correctly handle skb allocation failures
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 an MTU is seen which is larger than any seen earlier. This is used to read packets if there is a memory allocation failure. The large MTU check is done from eth_configure, which is called when a interface is added to the system. Signed-off-by: Jeff Dike <jdike@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions