diff options
author | Stephen Hemminger <shemminger@osdl.org> | 2005-12-14 15:47:46 -0800 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-12-24 09:36:05 -0500 |
commit | 7731a4ea1bbb7c9336bcdec8ef4050cf08a35268 (patch) | |
tree | 2aa5dbad868dbaa1bd60972abcd9dcb9ac66fdba /lib/idr.c | |
parent | e8df8554605f014765732605667145c0824a12b7 (diff) |
[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>
Diffstat (limited to 'lib/idr.c')
0 files changed, 0 insertions, 0 deletions