[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120928.134417.1763308761361480629.davem@davemloft.net>
Date: Fri, 28 Sep 2012 13:44:17 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: paulius.zaleckas@...il.com
Cc: kaber@...sh.net, netdev@...r.kernel.org
Subject: Re: [PATCH] vlan: Make it possible to add vlan with id 4095
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.
--
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