OpenCloudOS-Kernel/drivers/net/stmmac
Vlad Lungu f8e9616108 stmmac: priv->lock can be used uninitialized
To reproduce: if connman (http://connman.net/) is started,
inserting the stmmac module triggers a "BUG: spinlock bad magic on CPU#0".

Registering the device in stmmac_probe() sends a notification to connman
which brings the interface up before the lock is initialized.

Signed-off-by: Vlad Lungu <vlad.lungu@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-12-02 13:19:48 -08:00
..
Kconfig drivers/net/stmmac/: add HAS_IOMEM dependency 2010-10-06 23:42:43 -07:00
Makefile stmmac: rework normal and enhanced descriptors 2010-04-14 04:49:50 -07:00
common.h stmmac: make function tables const 2010-10-16 11:13:25 -07:00
descs.h stmmac: rename the gmac as dwmac1000 and split core and dma parts 2010-01-07 17:06:10 -08:00
dwmac100.h stmmac: make function tables const 2010-10-16 11:13:25 -07:00
dwmac100_core.c stmmac: make function tables const 2010-10-16 11:13:25 -07:00
dwmac100_dma.c stmmac: make function tables const 2010-10-16 11:13:25 -07:00
dwmac1000.h stmmac: make function tables const 2010-10-16 11:13:25 -07:00
dwmac1000_core.c stmmac: make function tables const 2010-10-16 11:13:25 -07:00
dwmac1000_dma.c stmmac: make function tables const 2010-10-16 11:13:25 -07:00
dwmac_dma.h stmmac: make ioaddr 'void __iomem *' rather than unsigned long 2010-08-25 16:30:51 -07:00
dwmac_lib.c stmmac: make ioaddr 'void __iomem *' rather than unsigned long 2010-08-25 16:30:51 -07:00
enh_desc.c stmmac: make function tables const 2010-10-16 11:13:25 -07:00
norm_desc.c stmmac: make function tables const 2010-10-16 11:13:25 -07:00
stmmac.h stmmac: make function tables const 2010-10-16 11:13:25 -07:00
stmmac_ethtool.c stmmac: remove ifdef NETIF_F_TSO from stmmac_ethtool.c 2010-10-17 13:43:56 -07:00
stmmac_main.c stmmac: priv->lock can be used uninitialized 2010-12-02 13:19:48 -08:00
stmmac_mdio.c stmmac: add CSR Clock range selection 2010-09-17 16:12:56 -07:00
stmmac_timer.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
stmmac_timer.h stmmac: do not fail when the timer cannot be used. 2009-11-23 10:37:52 -08:00