]> err.no Git - linux-2.6/commit
[PATCH] skge: handle out of memory on MTU size changes
authorStephen Hemminger <shemminger@osdl.org>
Wed, 14 Dec 2005 23:47:46 +0000 (15:47 -0800)
committerJeff Garzik <jgarzik@pobox.com>
Sat, 24 Dec 2005 14:36:05 +0000 (09:36 -0500)
commit7731a4ea1bbb7c9336bcdec8ef4050cf08a35268
tree2aa5dbad868dbaa1bd60972abcd9dcb9ac66fdba
parente8df8554605f014765732605667145c0824a12b7
[PATCH] skge: handle out of memory on MTU size changes

Changing the MTU size causes the receiver to have to reallocate buffers.
If this allocation fails, then we need to return an error, and take
the device offline. It can then be brought back up or reconfigured
for a smaller MTU.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/skge.c