History

net: ipv6: Add sysctl entry to disable MTU updates from RA

The kernel forcefully applies MTU values received in router advertisements provided the new MTU is less than the current. This behavior is undesirable when the user space is managing the MTU. Instead a sysctl flag 'accept_ra_mtu' is introduced such that the user space can control whether or not RA provided MTU updates should be applied. The default behavior is unchanged; user space must explicitly set this flag to 0 for RA MTUs to be ignored.

Harout Hedeshian committed 11 years ago

Commit c2943f11 parent 46a93af5 files · +20 −1Browse files

Showing the changes to include/uapi/linux (1 of 5 files). Show all

Unified · Split

include/uapi/linux/ipv6.h+1−0
@@ -169,6 +169,7 @@ enum { · 168 unmodified lines
169 DEVCONF_SUPPRESS_FRAG_NDISC,169 DEVCONF_SUPPRESS_FRAG_NDISC,
170 DEVCONF_ACCEPT_RA_FROM_LOCAL,170 DEVCONF_ACCEPT_RA_FROM_LOCAL,
171 DEVCONF_USE_OPTIMISTIC,171 DEVCONF_USE_OPTIMISTIC,
172 DEVCONF_ACCEPT_RA_MTU,
172 DEVCONF_MAX173 DEVCONF_MAX
173};174};
174 175