Files
linux/drivers
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
..
2009-12-01 16:32:20 -08:00
2010-02-09 04:50:58 -08:00
2009-12-01 16:32:19 -08:00
2010-01-28 15:01:20 -08:00
2010-01-22 15:18:35 -08:00
2009-12-18 14:05:04 -08:00
2010-02-09 04:50:48 -08:00
2010-01-18 10:19:36 -08:00
2009-11-12 07:26:01 -08:00
2009-12-18 14:03:24 -08:00
2010-01-18 10:19:44 -08:00