[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/49788 CVS commit: src/sys/net
The following reply was made to PR kern/49788; it has been noted by GNATS.
From: "Ryota Ozaki" <ozaki-r%netbsd.org@localhost>
Subject: PR/49788 CVS commit: src/sys/net
Date: Sun, 29 Mar 2015 13:30:43 +0000
Module Name: src
Committed By: ozaki-r
Date: Sun Mar 29 13:30:43 UTC 2015
Correct frame padding length
vlan pads a frame with zeros up to 68 bytes
(ETHER_MIN_LEN + ETHER_VLAN_ENCAP_LEN). It expects
that even if the frame is untagged, it keeps 64 bytes
at least. However, it lacks concern about CRC
(4 bytes). So a sending frame can be 72 (68 + 4) bytes.
To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 src/sys/net/if_vlan.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Main Index |
Thread Index |