mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
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: b7592822d5 Allow set MTU more than 1500 bytes
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D45195
This commit is contained in:
parent
f8a46de2dd
commit
d6963b9ed3
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ struct vxlan_socket_mc_info {
|
|||
60 /* Maximum IPv4 header len */ - \
|
||||
sizeof(struct udphdr) - \
|
||||
sizeof(struct vxlan_header) - \
|
||||
ETHER_HDR_LEN - ETHER_CRC_LEN - ETHER_VLAN_ENCAP_LEN)
|
||||
ETHER_HDR_LEN - ETHER_VLAN_ENCAP_LEN)
|
||||
#define VXLAN_BASIC_IFCAPS (IFCAP_LINKSTATE | IFCAP_JUMBO_MTU)
|
||||
|
||||
#define VXLAN_SO_MC_MAX_GROUPS 32
|
||||
|
|
|
|||
Loading…
Reference in a new issue