HomeFreeBSD

if_vxlan(4): Exclude ETHER_CRC_LEN from macro VXLAN_MAX_MTU

Description

if_vxlan(4): Exclude ETHER_CRC_LEN from macro VXLAN_MAX_MTU

The encapsulated (original) frame does not count in FCS as per Section 5
of RFC 7348.

Reviewed by: afedorov, bryanv, network
Fixes: b7592822d5de Allow set MTU more than 1500 bytes
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D45195

(cherry picked from commit d6963b9ed3287e91db3d1df153861591faff0007)

Details

Provenance
zleiAuthored on Jul 2 2024, 4:57 AM
Reviewer
network
Differential Revision
D45195: if_vxlan(4): Exclude ETHER_CRC_LEN while calculating VXLAN_MAX_MTU
Parents
rG77362b5eb7a5: tftpd: Code cleanup.
Branches
Unknown
Tags
Unknown