Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F136646521
D29501.id86589.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
332 B
Referenced Files
None
Subscribers
None
D29501.id86589.diff
View Options
diff --git a/sys/net/if_vxlan.c b/sys/net/if_vxlan.c
--- a/sys/net/if_vxlan.c
+++ b/sys/net/if_vxlan.c
@@ -1627,6 +1627,8 @@
ifp->if_hdrlen += sizeof(struct ip);
else if (VXLAN_SOCKADDR_IS_IPV6(&sc->vxl_dst_addr) != 0)
ifp->if_hdrlen += sizeof(struct ip6_hdr);
+
+ ifp->if_mtu = ETHERMTU - ifp->if_hdrlen;
}
static int
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 19, 5:47 PM (17 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25659254
Default Alt Text
D29501.id86589.diff (332 B)
Attached To
Mode
D29501: vxlan: correct interface MTU when using hw offloads
Attached
Detach File
Event Timeline
Log In to Comment