[OpenWrt-Devel] [PATCH] qos-scripts: Add IPv6 support

Felix Fietkau nbd at openwrt.org
Fri Jan 22 07:00:42 EST 2016


On 2016-01-22 04:45, Michael Marley wrote:
> I apologize, my client mangled my previous attempt at resubmission.
> 
> Here is an updated version with three improvements.  The problem with
> the rules not being removed (which was not new and actually caused by a
> grep command incompatible with musl) was fixed by using an updated grep
> command (thanks nbd!).  The problems pertaining to the xtables lock
> (including "too many links" and "directory not empty") were fixed by
> always executing ip[6]tables with the "-w" command-line argument to make
> it wait for the xtables lock.  Lastly, I fixed a place where I hardcoded
> "iptables" and "ip6tables" instead of looping over the array like
> everywhere else.
> --trim here--
> 
> This adds IPv6 support to qos-scripts for both tc/qdisc and the
> iptables classification rules.  The tc/qdisc part is accomplished
> by removing "protocol ip" from the tc command line, causing the
> rule to be applied to all protocols.  The iptables part is
> accomplished by adding each rule using both iptables and ip6tables.
> 
> This patch is based on previous work by Ilkka Ollakka and
> Dominique Martinet.
> 
> Signed-off-by: Michael Marley <michael at michaelmarley.com>
> ---
Applied. Next time, please write any comments under the "---" line. That
way I don't have to manually edit the commit message.

Thanks,

- Felix
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list