lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 28 Jun 2014 08:59:01 -0700
From:	Jesse Gross <jesse@...ira.com>
To:	Simon Horman <horms@...ge.net.au>
Cc:	"dev@...nvswitch.org" <dev@...nvswitch.org>,
	netdev <netdev@...r.kernel.org>, Ravi K <rkerur@...il.com>,
	Joe Stringer <joe@...d.net.nz>, Thomas Graf <tgraf@...g.ch>
Subject: Re: [PATCH v2.62] datapath: Add basic MPLS support to kernel

On Fri, Jun 27, 2014 at 5:55 PM, Simon Horman <horms@...ge.net.au> wrote:
> On Wed, Jun 25, 2014 at 10:51:52AM +0900, Simon Horman wrote:
>> On Tue, Jun 24, 2014 at 04:24:37PM -0700, Jesse Gross wrote:
>> >  * Maybe you can refresh my memory - in the case of a push_mpls after
>> > pop_vlan, why can't we do this check correctly for at least one level
>> > of vlan? It seems like we could use the inner EtherType to tell
>> > whether an additional vlan tag is present.
>>
>> That seems likely. I'll do some analysis and get back to you.
>
> I may be missing something but it seems to me that in
> ovs_nla_copy_actions__() we have access to the outer EtherType and
> VLAN TCI but not the inner EtherType.
>
> It seems to me that the inner EtherType would need to be present
> in the key for it to be available in ovs_nla_copy_actions__().

The inner EtherType (first level) is actually what is stored in
eth.type in the flow. When eth.tci is set it is assumed that the outer
EtherType is 0x8100 and that isn't stored.
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ