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)
(cherry picked from commit 7de38cbb5dc4d0a6de65eb562a1b066313dc756a)

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
rG7f936b0cba08: fusefs: fix two bugs regarding _PC_MIN_HOLE_SIZE
Branches
Unknown
Tags
Unknown