Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 221996
b: refs/heads/master
c: 18543a6
h: refs/heads/master
v: v3
  • Loading branch information
Guillaume Chazarain authored and David S. Miller committed Nov 8, 2010
1 parent 7b89a82 commit 6b43150
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 63f4e1903ae41b4e457dd4490afe0f59e7641ad6
refs/heads/master: 18543a643fae694982c7d89c22436885f3506497
5 changes: 5 additions & 0 deletions trunk/include/linux/netdevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -1554,6 +1554,11 @@ static inline void netif_tx_wake_all_queues(struct net_device *dev)

static inline void netif_tx_stop_queue(struct netdev_queue *dev_queue)
{
if (WARN_ON(!dev_queue)) {
printk(KERN_INFO "netif_stop_queue() cannot be called before "
"register_netdev()");
return;
}
set_bit(__QUEUE_STATE_XOFF, &dev_queue->state);
}

Expand Down

0 comments on commit 6b43150

Please sign in to comment.