aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/8139too.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/8139too.c b/drivers/net/8139too.c
index bcea9d41c32c..120baaa90754 100644
--- a/drivers/net/8139too.c
+++ b/drivers/net/8139too.c
@@ -1599,7 +1599,7 @@ static void rtl8139_thread (void *_data)
1599 struct net_device *dev = _data; 1599 struct net_device *dev = _data;
1600 struct rtl8139_private *tp = netdev_priv(dev); 1600 struct rtl8139_private *tp = netdev_priv(dev);
1601 1601
1602 if (rtnl_lock_interruptible() == 0) { 1602 if (rtnl_shlock_nowait() == 0) {
1603 rtl8139_thread_iter (dev, tp, tp->mmio_addr); 1603 rtl8139_thread_iter (dev, tp, tp->mmio_addr);
1604 rtnl_unlock (); 1604 rtnl_unlock ();
1605 } 1605 }