On 2017/11/22 14:40, Robert Elz wrote:
Date: Wed, 22 Nov 2017 04:56:52 +0000
From: "SAITOH Masanobu" <msai...@netbsd.org>
Message-ID: <20171122045652.2ee75f...@cvs.netbsd.org>
| Return EINVAL in vlan_config() when a VLAN ID is 0 or 65535.
| The spec states 0 and 65535 are reserved.
Tags are 12 bigs, so 0..4095 (65535 won't fit). The code that was
added in this commit looks correct (0xfff - it would be better as a
named const defined somewhere) but the comment that accompanies it
(and this commit log entry) are not.
Yes, you're correct. I fixed the comment.
Thanks.
kre
--
-----------------------------------------------
SAITOH Masanobu (msai...@execsw.org
msai...@netbsd.org)