summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChangli Gao <xiaosuo@gmail.com>2010-04-26 23:06:24 +0000
committerDavid S. Miller <davem@davemloft.net>2010-04-27 14:32:12 -0700
commita9cbd588fdb71ea415754c885e2f9f03e6bf1ba0 (patch)
tree68506bd4299f34b3ed31b76eb575e79c61e198fb /include
parentbb611874650cff942a7466b456a791e8bfa641e7 (diff)
downloadlinux-stable-a9cbd588fdb71ea415754c885e2f9f03e6bf1ba0.tar.gz
linux-stable-a9cbd588fdb71ea415754c885e2f9f03e6bf1ba0.tar.bz2
linux-stable-a9cbd588fdb71ea415754c885e2f9f03e6bf1ba0.zip
net: reimplement softnet_data.output_queue as a FIFO queue
reimplement softnet_data.output_queue as a FIFO queue to keep the fairness among the qdiscs rescheduled. Signed-off-by: Changli Gao <xiaosuo@gmail.com> Acked-by: Eric Dumazet <eric.dumazet@gmail.com> ---- include/linux/netdevice.h | 1 + net/core/dev.c | 22 ++++++++++++---------- 2 files changed, 13 insertions(+), 10 deletions(-) Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/netdevice.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 3c5ed5f5274e..c04ca246395d 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -1385,6 +1385,7 @@ static inline int unregister_gifconf(unsigned int family)
*/
struct softnet_data {
struct Qdisc *output_queue;
+ struct Qdisc **output_queue_tailp;
struct list_head poll_list;
struct sk_buff *completion_queue;