Thread (11 messages) flat view 11 messages, 6 authors, 2011-02-21

Re: Off-by-one error in net/8021q/vlan.c

From: richard -rw- weinberger <hidden>
Date: 2011-02-16 16:11:00

On Wed, Feb 16, 2011 at 4:58 PM, Phil Karn [off-list ref] wrote:
On 2/16/11 4:51 AM, richard -rw- weinberger wrote:
quoted
On Wed, Feb 16, 2011 at 11:58 AM, Phil Karn [off-list ref] wrote:
quoted
The range check on vlan_id in register_vlan_device is off by one, and it
prevents the creation of a vlan interface for vlan ID 4095. (OSX allows
this, I checked.)
Then OSX should fix their code. 4095 is reserved.
If it's reserved, then it's up to the user to reserve it.
No.

See:
http://standards.ieee.org/getieee802/download/802.1Q-2005.pdf

-- 
Thanks,
//richard
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help