diff options
Diffstat (limited to 'drivers/net/eql.c')
-rw-r--r-- | drivers/net/eql.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/net/eql.c b/drivers/net/eql.c index a59cf961a436..f219d38acf58 100644 --- a/drivers/net/eql.c +++ b/drivers/net/eql.c | |||
@@ -125,6 +125,7 @@ | |||
125 | #include <linux/if.h> | 125 | #include <linux/if.h> |
126 | #include <linux/if_arp.h> | 126 | #include <linux/if_arp.h> |
127 | #include <linux/if_eql.h> | 127 | #include <linux/if_eql.h> |
128 | #include <linux/pkt_sched.h> | ||
128 | 129 | ||
129 | #include <asm/uaccess.h> | 130 | #include <asm/uaccess.h> |
130 | 131 | ||
@@ -143,7 +144,7 @@ static void eql_timer(unsigned long param) | |||
143 | equalizer_t *eql = (equalizer_t *) param; | 144 | equalizer_t *eql = (equalizer_t *) param; |
144 | struct list_head *this, *tmp, *head; | 145 | struct list_head *this, *tmp, *head; |
145 | 146 | ||
146 | spin_lock_bh(&eql->queue.lock); | 147 | spin_lock(&eql->queue.lock); |
147 | head = &eql->queue.all_slaves; | 148 | head = &eql->queue.all_slaves; |
148 | list_for_each_safe(this, tmp, head) { | 149 | list_for_each_safe(this, tmp, head) { |
149 | slave_t *slave = list_entry(this, slave_t, list); | 150 | slave_t *slave = list_entry(this, slave_t, list); |
@@ -157,7 +158,7 @@ static void eql_timer(unsigned long param) | |||
157 | } | 158 | } |
158 | 159 | ||
159 | } | 160 | } |
160 | spin_unlock_bh(&eql->queue.lock); | 161 | spin_unlock(&eql->queue.lock); |
161 | 162 | ||
162 | eql->timer.expires = jiffies + EQL_DEFAULT_RESCHED_IVAL; | 163 | eql->timer.expires = jiffies + EQL_DEFAULT_RESCHED_IVAL; |
163 | add_timer(&eql->timer); | 164 | add_timer(&eql->timer); |
@@ -341,7 +342,7 @@ static netdev_tx_t eql_slave_xmit(struct sk_buff *skb, struct net_device *dev) | |||
341 | struct net_device *slave_dev = slave->dev; | 342 | struct net_device *slave_dev = slave->dev; |
342 | 343 | ||
343 | skb->dev = slave_dev; | 344 | skb->dev = slave_dev; |
344 | skb->priority = 1; | 345 | skb->priority = TC_PRIO_FILLER; |
345 | slave->bytes_queued += skb->len; | 346 | slave->bytes_queued += skb->len; |
346 | dev_queue_xmit(skb); | 347 | dev_queue_xmit(skb); |
347 | dev->stats.tx_packets++; | 348 | dev->stats.tx_packets++; |