aboutsummaryrefslogtreecommitdiffstats
path: root/package/iproute2/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-07-12 00:01:22 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-07-12 00:01:22 +0000
commit4ec1678b66a3fe8c749596df5f1f44e9fd024361 (patch)
tree4f2b14109c0b5185d9e1ab9fb16c52fcee01a259 /package/iproute2/patches
parent3270a9653d0ab38920818381a00a015053310b74 (diff)
downloadupstream-4ec1678b66a3fe8c749596df5f1f44e9fd024361.tar.gz
upstream-4ec1678b66a3fe8c749596df5f1f44e9fd024361.tar.bz2
upstream-4ec1678b66a3fe8c749596df5f1f44e9fd024361.zip
sched: allow user space to create pfifo_fast qdiscs on virtual interfaces, allow pfifo_fast qdiscs to have filters and filter actions - useful for controlling packet classification into wme classes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16791 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/iproute2/patches')
-rw-r--r--package/iproute2/patches/100-allow_pfifo_fast.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/package/iproute2/patches/100-allow_pfifo_fast.patch b/package/iproute2/patches/100-allow_pfifo_fast.patch
new file mode 100644
index 0000000000..d6c15aeb6b
--- /dev/null
+++ b/package/iproute2/patches/100-allow_pfifo_fast.patch
@@ -0,0 +1,9 @@
+--- a/tc/q_fifo.c
++++ b/tc/q_fifo.c
+@@ -94,5 +94,6 @@ struct qdisc_util pfifo_qdisc_util = {
+ extern int prio_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt);
+ struct qdisc_util pfifo_fast_qdisc_util = {
+ .id = "pfifo_fast",
++ .parse_qopt = fifo_parse_opt,
+ .print_qopt = prio_print_opt,
+ };