[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140107111807.38624f74@rainbow.cbg.collabora.co.uk>
Date: Tue, 7 Jan 2014 11:18:07 +0000
From: Alban Crequy <alban.crequy@...labora.co.uk>
To: Andrew Collins <bsderandrew@...il.com>
Cc: Stephen Hemminger <stephen@...workplumber.org>,
Brad Johnson <bjohnson@...ssa.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: Possible to add netfilter hooks to IFB driver?
On Mon, 6 Jan 2014 15:51:37 -0700
Andrew Collins <bsderandrew@...il.com> wrote:
> On Mon, Jan 6, 2014 at 2:51 PM, Stephen Hemminger
> <stephen@...workplumber.org> wrote:
> >
> > The risk is creating the same races that made IMQ unacceptable.
> > --
>
> I believe openwrt nowadays uses a TC action which runs the packet
> through prerouting then pulls in the mark off the ct entry into the
> skb, so ingress+IFB can take action on it.
Thanks for the info. I guess the implementation is this one:
https://dev.openwrt.org/browser/trunk/target/linux/generic/patches-3.12/621-sched_act_connmark.patch
https://dev.openwrt.org/browser/trunk/package/network/utils/iproute2/patches/210-add-act_connmark.patch
https://dev.openwrt.org/browser/trunk/package/network/config/qos-scripts/files/usr/lib/qos/generate.sh#L343
> Perhaps a cleaned up version of this would be suitable for upstream?
I don't know but this seems a useful feature to me.
Best regards,
Alban
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists