Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 194021
b: refs/heads/master
c: 7a161ea
h: refs/heads/master
i:
  194019: 0b8c925
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Apr 13, 2010
1 parent 25b3a00 commit 69fdc7a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 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: f0ee7acfcdd4169cee2fefc630de72deb5bc34b9
refs/heads/master: 7a161ea92471087a1579239d7a58dd06eaa5601c
12 changes: 6 additions & 6 deletions trunk/net/core/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -1987,9 +1987,9 @@ static inline u16 dev_cap_txqueue(struct net_device *dev, u16 queue_index)
{
if (unlikely(queue_index >= dev->real_num_tx_queues)) {
if (net_ratelimit()) {
netdev_warn(dev, "selects TX queue %d, but "
"real number of TX queues is %d\n",
queue_index, dev->real_num_tx_queues);
pr_warning("%s selects TX queue %d, but "
"real number of TX queues is %d\n",
dev->name, queue_index, dev->real_num_tx_queues);
}
return 0;
}
Expand Down Expand Up @@ -2223,9 +2223,9 @@ static int get_rps_cpu(struct net_device *dev, struct sk_buff *skb)
u16 index = skb_get_rx_queue(skb);
if (unlikely(index >= dev->num_rx_queues)) {
if (net_ratelimit()) {
netdev_warn(dev, "received packet on queue "
"%u, but number of RX queues is %u\n",
index, dev->num_rx_queues);
pr_warning("%s received packet on queue "
"%u, but number of RX queues is %u\n",
dev->name, index, dev->num_rx_queues);
}
goto done;
}
Expand Down

0 comments on commit 69fdc7a

Please sign in to comment.