Files
linux/drivers/net
Ben Hutchings 35cfb03de1 starfire: clean up properly if firmware loading fails
commit c928febf4b upstream.

netdev_open() will return without cleaning up net device or hardware state
if firmware loading fails.  This results in a BUG() on a second attempt to
bring the interface up, reported in
<http://bugzilla.kernel.org/show_bug.cgi?id=15091>, and probably has even
worse effects if the driver is removed afterwards.

Call netdev_close() to clean up on failure.

Addresses http://bugzilla.kernel.org/show_bug.cgi?id=15091

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Reported-by: Michael Moffatt <michael@moffatt.org.nz>
Tested-by: Michael Moffatt <michael@moffatt.org.nz>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-02-09 04:51:00 -08:00
..
2010-02-09 04:50:59 -08:00
2009-11-18 05:11:14 -08:00
2010-01-28 15:01:48 -08:00
2009-09-30 20:11:11 -07:00
2009-09-01 01:13:50 -07:00
2009-09-01 01:13:50 -07:00
2009-09-01 01:13:50 -07:00
2009-09-01 01:13:50 -07:00
2009-09-01 01:13:50 -07:00
2009-09-01 01:13:50 -07:00
2009-09-01 01:13:50 -07:00
2009-09-01 01:13:50 -07:00
2009-08-12 23:03:00 -07:00
2009-08-12 22:53:28 -07:00
2009-08-12 23:03:01 -07:00
2009-08-12 23:03:01 -07:00
2009-11-06 20:26:09 -08:00
2009-08-15 18:50:44 -07:00
2009-10-24 06:53:07 -07:00
2009-09-23 07:39:43 -07:00
2009-10-11 11:20:58 -07:00
2009-10-20 18:51:37 -07:00
2009-09-07 01:56:52 -07:00
2009-10-02 09:55:19 -07:00
2009-07-06 13:05:13 -07:00
2009-11-20 13:53:33 -08:00
2009-10-20 19:11:06 -07:00
2009-11-23 14:18:53 -08:00
2009-09-21 15:14:58 +02:00
2009-07-16 09:14:23 -07:00
2009-10-26 16:23:20 -07:00
2009-11-15 21:14:59 -08:00
2009-08-02 12:20:40 -07:00
2009-10-26 17:19:44 -07:00
2009-10-01 15:14:54 -07:00
2009-10-01 15:14:55 -07:00
2009-11-29 23:47:14 -08:00
2009-10-07 03:37:39 -07:00
2009-10-07 03:37:39 -07:00
2009-11-19 13:16:22 -08:00