linux/drivers/net/ethernet/micrel
Dan Carpenter c3001b773b net/ethernet: ks8851_mll unregister_netdev() before freeing
We added another error condition here, but if we were to hit it then
we need to unregister_netdev() before doing the free_netdev().
Otherwise we would hit the BUG_ON() in free_netdev():

	BUG_ON(dev->reg_state != NETREG_UNREGISTERED);

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Tested-by: Raffaele Recalcati <raffaele.recalcati@bticino.it>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-06-07 13:15:09 -07:00
..
Kconfig drivers: misc: Remove MISC_DEVICES config option 2012-01-24 16:24:02 -08:00
ks8695net.c netdev: ethernet dev_alloc_skb to netdev_alloc_skb 2012-02-06 11:52:27 -05:00
ks8695net.h
ks8842.c drivers/net: add missing __devexit_p() annotations 2012-04-21 15:28:47 -04:00
ks8851_mll.c net/ethernet: ks8851_mll unregister_netdev() before freeing 2012-06-07 13:15:09 -07:00
ks8851.c ks8851: Update link status during link change interrupt 2012-05-11 18:23:34 -04:00
ks8851.h drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
ksz884x.c ksz884x: don't copy too much in netdev_set_mac_address() 2012-04-19 13:25:03 -04:00
Makefile