While Ileoo's patch is good, it looks like 'protocol ip' of tc doesn't
match ipv6 traffic at all, so the global downlink limit isn't effective
(traffic isn't forwarded to ifb0 interface) and the marks probably aren't
matched either.

[PATCH] QoS for ipv6: add matching rules for 'protocol ipv6'
[PATCH] QoS for ipv6: remove the 'protocol ip' filter

These two patchs both fix the issue in a different way - you only need
either.
One adds extra rules for ipv6 just like the ip ones, while the other
simply removes the 'protocol ip' pattern.

In my opinion, removing the protocol ip pattern is better - all traffic
ought to go through ifb0, and the packets just won't have any marks if
they weren't matched by iptables or ip6tables rules, so it shouldn't
affect the rest.
'tc filter help' output gives the impression that a protocol option is
necessary, but it seems like the help output is outdated - not specifying
protocol defaults to 'protocol all' since iproute2 commit 05fb91 in june
2011 (before v3.0.0, attitude-adjustment has a patched 3.3.0 at the moment)

Feel free to comment/ask for changes or just pick either one, both work for me.

Regards,
-- 
Dominique Martinet | Asmadeus
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to