[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LNX.2.01.1211121941370.1611@nerf07.vanv.qr>
Date: Mon, 12 Nov 2012 19:42:12 +0100 (CET)
From: Jan Engelhardt <jengelh@...i.de>
To: David Miller <davem@...emloft.net>
cc: paulius.zaleckas@...il.com, kaber@...sh.net, netdev@...r.kernel.org
Subject: Re: [PATCH] vlan: Make it possible to add vlan with id 4095
On Friday 2012-09-28 19:44, David Miller wrote:
>From: Paulius Zaleckas <paulius.zaleckas@...il.com>
>Date: Fri, 28 Sep 2012 15:32:58 +0300
>
>> vconfig help tells that vlan_id should be 0-4095, but fails
>> with 4095.
>>
>> There is an off-by-one bug while evaluating vlan_id.
>> Fix it by evaluating against count(4096), not mask(0x0fff = 4095).
>>
>> Signed-off-by: Paulius Zaleckas <paulius.zaleckas@...il.com>
>
>Awesome, we don't need VXVLAN any more after this fix.
You mean because the special 0xfff value could indicate "here's more
headers"? Sounds like a plan.
--
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