[ovs-dev] [PATCH 2/8] tunnel: Add IP ECN related functions.

Jesse Gross jesse at kernel.org
Thu Jan 21 22:10:11 UTC 2016


On Thu, Jan 21, 2016 at 1:50 PM, pravin shelar <pshelar at ovn.org> wrote:
> On Thu, Jan 21, 2016 at 1:29 PM, Jesse Gross <jesse at kernel.org> wrote:
>> What about checking to see if the packet is originally ECT or even IP?
>> It doesn't inherently have to be done in this function but skipping
>> ahead to the STT patch I don't see that we check when it is called. (I
>> see the check for IPv6 but it seems to me that it will interpret all
>> non-IP traffic as IPv4.)
>>
> I do not think stt pop can receive any other protocol packet than IPv6
> or IPv4. That is how the packet filter is set in tnl-port.c.

OK, I see it is actually being called on the outer header, not the
inner, and we'll move this to the inner header in the tunnel flow
setup code.



More information about the dev mailing list