Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit befc6722 authored by Harout Hedeshian's avatar Harout Hedeshian Committed by Subash Abhinov Kasiviswanathan
Browse files

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.

CRs-Fixed: 1076670
Change-Id: I9b2672d7c7804b6d5394516f451888d3ac8d7803
Signed-off-by: default avatarHarout Hedeshian <harouth@codeaurora.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
[subashab@codeaurora.org: resolve trivial merge conflicts]
Signed-off-by: default avatarSubash Abhinov Kasiviswanathan <subashab@codeaurora.org>
parent c4e05e15
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment