[PATCH] skge: handle out of memory on ring parameter change
authorStephen Hemminger <shemminger@osdl.org>
Wed, 14 Dec 2005 23:47:48 +0000 (15:47 -0800)
committerJeff Garzik <jgarzik@pobox.com>
Sat, 24 Dec 2005 14:36:06 +0000 (09:36 -0500)
commit3b8bb472ad8eee6f42bc82647ff5d6d9bfe49e20
treea283968f8bee753cbd4be1bdbb3dcd78824c5e48
parent2770b5172e9b3d135b16d1e5d8344919ac09319d
[PATCH] skge: handle out of memory on ring parameter change

If changing ring parameters is unable to allocate memory, we need
to return an error and take the device down.

Fixes-bug: http://bugzilla.kernel.org/show_bug.cgi?id=5715
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/skge.c