aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/sch_generic.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-07-18 23:54:17 -0400
committerDavid S. Miller <davem@davemloft.net>2008-07-18 23:54:17 -0400
commit72b25a913ed9b1ab49c7022adaf3f271a65ea219 (patch)
tree89931a19264c79090ea3043d92f04e7727e37f1c /include/net/sch_generic.h
parent8913336a7e8d56e984109a3137d6c0e3362596a4 (diff)
pkt_sched: Get rid of u32_list.
The u32_list is just an indirect way of maintaining a reference to a U32 node on a per-qdisc basis. Just add an explicit node pointer for u32 to struct Qdisc an do away with this global list. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sch_generic.h')
-rw-r--r--include/net/sch_generic.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/sch_generic.h b/include/net/sch_generic.h
index 0a158ff4de12..8a44386b35cf 100644
--- a/include/net/sch_generic.h
+++ b/include/net/sch_generic.h
@@ -56,6 +56,8 @@ struct Qdisc
56 int (*reshape_fail)(struct sk_buff *skb, 56 int (*reshape_fail)(struct sk_buff *skb,
57 struct Qdisc *q); 57 struct Qdisc *q);
58 58
59 void *u32_node;
60
59 /* This field is deprecated, but it is still used by CBQ 61 /* This field is deprecated, but it is still used by CBQ
60 * and it will live until better solution will be invented. 62 * and it will live until better solution will be invented.
61 */ 63 */