Skip to contentSkip to conversation

Shall we add some note info for tcp_min_snd_mss?

DISCUSSION ZhangXiao 2 participants 2 messages Jul 3, 2019

Subsystems (2)
lore
Share & tools
lore

ZhangXiao

author
#0 lore raw

Hi David & Eric,

Commit 5f3e2bf0 (tcp: add tcp_min_snd_mss sysctl) add a new interface to adjust network. While if this variable been set too large, for example larger then (MTU - 40), the net link maybe damaged. So, how about adding some warning messages for the operator/administrator? In document, or in source code.

Thanks
Xiao

#1 lore raw
Quoted 7 lines · ZhangXiao

Hi David & Eric,

Commit 5f3e2bf0 (tcp: add tcp_min_snd_mss sysctl) add a new interface to adjust network. While if this variable been set too large, for example larger then (MTU - 40), the net link maybe damaged. So, how about adding some warning messages for the operator/administrator? In document, or in source code.

What kind of warning message do you
envision exactly ?

The sysctl is global, devices MTU can be quite arbitrary.

Like almost all sysctls, sysadmins are supposed to know what they are doing.