usb ethernet gadget, workaround network stack API glitch
authorErik Hovland <erik@hovland.org>
Mon, 23 Apr 2007 17:50:15 +0000 (10:50 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 27 Apr 2007 20:28:42 +0000 (13:28 -0700)
commitb8d297c93a888fcd4d74ba0bbeeabe9b84caf514
tree2249461166b9aaa23e21b48fa2b879f32259b49a
parent83f7d958eab2fbc6b159ee92bf1493924e1d0f72
usb ethernet gadget, workaround network stack API glitch

Another workaround for the glitch in the network layer, whereby one call
ignores the (otherwise kernel-wide) convention that free() calls should
not oops when passed nulls.  This code already handles that API glitch in
most other paths.

From: Erik Hovland <erik@hovland.org>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/ether.c