Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f8e96161 authored by Vlad Lungu's avatar Vlad Lungu Committed by David S. Miller
Browse files

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: default avatarVlad Lungu <vlad.lungu@windriver.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6dcdd1b3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment