[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <D5C1322C3E673F459512FB59E0DDC329036D1BDC@orsmsx414.amr.corp.intel.com>
Date: Wed, 15 Aug 2007 11:16:09 -0700
From: "Waskiewicz Jr, Peter P" <peter.p.waskiewicz.jr@...el.com>
To: "Thomas Graf" <tgraf@...g.ch>
Cc: <netdev@...r.kernel.org>
Subject: RE: Potential u32 classifier bug.
> * Waskiewicz Jr, Peter P <peter.p.waskiewicz.jr@...el.com>
> 2007-08-15 11:02
> > > There is this very horrible way of using the u32
> classifier with a
> > > negative offset to look into the ethernet header.
> >
> > Based on this, it sounds like u32 using protocol 802_3 is broken?
>
> You might be expecting too much from u32. The protocol given
> to u32 is just a filter, it doesn't imply anything beyond that.
> u32 has its usage the way it is, that's way we've added an
> ematch rather than extending u32 itself.
Ok, that clarifies it a bit. I've just found a few examples on the net,
one of which is in a TC filter manual
(http://tcn.hypert.net/tcmanual.pdf, section 2.2.1.3 at the bottom of
the section), that was using u32 to simply filter on dest MAC address
without anything elaborate. Either it worked way back when, or it was a
bogus example.
Thanks again Thomas,
-PJ
-
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