Page MenuHomeFreeBSD

Disable automatic MTU adjustment for if_gre(4) and if_me(4)
ClosedPublic

Authored by ae on Mar 31 2017, 1:47 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, May 15, 11:05 AM
Unknown Object (File)
Tue, May 12, 2:35 AM
Unknown Object (File)
Mon, May 4, 2:57 PM
Unknown Object (File)
Sat, May 2, 11:30 AM
Unknown Object (File)
Thu, Apr 30, 8:31 AM
Unknown Object (File)
Mon, Apr 27, 2:44 PM
Unknown Object (File)
Thu, Apr 23, 10:06 AM
Unknown Object (File)
Apr 16 2026, 1:35 PM
Subscribers

Details

Summary

In the rS274246 the behavior of MTU calculation was partially changed.
Before this revision interface MTU was adjusted only when GRE key is configured. In the rS274246 when some option, that changes the size of GRE header is configured, the MTU value automatically recalculated.
Several users have complained that this is not handy, and better when an administrator does all calculations and if he wants MTU 1500, it should be 1500 after ifconfig gre0 mtu 1500.
This patch removes automatic MTU adjustment from if_gre(4) and if_me(4).

Diff Detail