Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 139814
b: refs/heads/master
c: 4ff61c8
h: refs/heads/master
v: v3
  • Loading branch information
Larry Finger authored and David S. Miller committed Apr 2, 2009
1 parent 7814c4f commit f7aec5f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f2bde7328633269ee935d9ed96535ade15cc348f
refs/heads/master: 4ff61c8f7b5e1e60620a04a64ac0715c0822fdac
7 changes: 3 additions & 4 deletions trunk/drivers/net/usb/kaweth.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
* Run test procedures
* Fix bugs from previous two steps
* Snoop other OSs for any tricks we're not doing
* SMP locking
* Reduce arbitrary timeouts
* Smart multicast support
* Temporary MAC change support
Expand Down Expand Up @@ -796,7 +795,7 @@ static int kaweth_start_xmit(struct sk_buff *skb, struct net_device *net)

int res;

spin_lock(&kaweth->device_lock);
spin_lock_irq(&kaweth->device_lock);

kaweth_async_set_rx_mode(kaweth);
netif_stop_queue(net);
Expand All @@ -814,7 +813,7 @@ static int kaweth_start_xmit(struct sk_buff *skb, struct net_device *net)
if (!copied_skb) {
kaweth->stats.tx_errors++;
netif_start_queue(net);
spin_unlock(&kaweth->device_lock);
spin_unlock_irq(&kaweth->device_lock);
return 0;
}
}
Expand Down Expand Up @@ -848,7 +847,7 @@ static int kaweth_start_xmit(struct sk_buff *skb, struct net_device *net)
net->trans_start = jiffies;
}

spin_unlock(&kaweth->device_lock);
spin_unlock_irq(&kaweth->device_lock);

return 0;
}
Expand Down

0 comments on commit f7aec5f

Please sign in to comment.