summaryrefslogtreecommitdiffstats
path: root/package/linux/kernel-patches/206-include_net_pkt_sched_h.patch
diff options
context:
space:
mode:
authorwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-04-28 09:01:53 +0000
committerwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-04-28 09:01:53 +0000
commit98bef3670e4e4d799d1cfbedea4a34e395d4f38e (patch)
treeb3d3f3997c18ac6fbe2f8c635d80eec3807d4147 /package/linux/kernel-patches/206-include_net_pkt_sched_h.patch
parent606a55901e869c33e0d1985afd51bb92eb56b2f9 (diff)
add new wl integration patches, fixes tc issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@743 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/linux/kernel-patches/206-include_net_pkt_sched_h.patch')
-rw-r--r--package/linux/kernel-patches/206-include_net_pkt_sched_h.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/package/linux/kernel-patches/206-include_net_pkt_sched_h.patch b/package/linux/kernel-patches/206-include_net_pkt_sched_h.patch
new file mode 100644
index 000000000..f6bd0143a
--- /dev/null
+++ b/package/linux/kernel-patches/206-include_net_pkt_sched_h.patch
@@ -0,0 +1,25 @@
+--- linux-2.4.30/include/net/pkt_sched.h 2004-11-17 12:54:22.000000000 +0100
++++ linux-2.4.30-wl/include/net/pkt_sched.h 2005-04-24 18:32:48.000000000 +0200
+@@ -59,7 +59,7 @@
+ int (*enqueue)(struct sk_buff *, struct Qdisc *);
+ struct sk_buff * (*dequeue)(struct Qdisc *);
+ int (*requeue)(struct sk_buff *, struct Qdisc *);
+- unsigned int (*drop)(struct Qdisc *);
++ int (*drop)(struct Qdisc *);
+
+ int (*init)(struct Qdisc *, struct rtattr *arg);
+ void (*reset)(struct Qdisc *);
+@@ -80,12 +80,11 @@
+ #define TCQ_F_THROTTLED 2
+ #define TCQ_F_INGRESS 4
+ struct Qdisc_ops *ops;
++ struct Qdisc *next;
+ u32 handle;
+- u32 parent;
+ atomic_t refcnt;
+ struct sk_buff_head q;
+ struct net_device *dev;
+- struct list_head list;
+
+ struct tc_stats stats;
+ int (*reshape_fail)(struct sk_buff *skb, struct Qdisc *q);