Skip to content

Commit

Permalink
[netdrvr 8139too] use rtnl_shlock_nowait() rather than rtnl_lock_inte…
Browse files Browse the repository at this point in the history
…rruptible()
  • Loading branch information
Jeff Garzik committed Nov 5, 2005
1 parent 38b492a commit 96a71d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/8139too.c
Original file line number Diff line number Diff line change
Expand Up @@ -1599,7 +1599,7 @@ static void rtl8139_thread (void *_data)
struct net_device *dev = _data;
struct rtl8139_private *tp = netdev_priv(dev);

if (rtnl_lock_interruptible() == 0) {
if (rtnl_shlock_nowait() == 0) {
rtl8139_thread_iter (dev, tp, tp->mmio_addr);
rtnl_unlock ();
}
Expand Down

0 comments on commit 96a71d5

Please sign in to comment.