Re: [PATCH] net: dsa: mv88e6xxx: Fix deadlock by double lock

2015-06-07 Thread David Miller
From: Andrew Lunn Date: Fri, 5 Jun 2015 01:10:09 +0200 > ethtool -S on a DSA interface can deadlock for some switches because > the same lock is taken twice. Use the register read function which > expects the lock to be already held. > > Signed-off-by: Andrew Lunn > Fixes: 31888234b736 ("net:

[PATCH] net: dsa: mv88e6xxx: Fix deadlock by double lock

2015-06-04 Thread Andrew Lunn
ethtool -S on a DSA interface can deadlock for some switches because the same lock is taken twice. Use the register read function which expects the lock to be already held. Signed-off-by: Andrew Lunn Fixes: 31888234b736 ("net: dsa: mv88e6xxx: Replace stats mutex with SMI mutex") --- drivers/net/