ipv4: Namespaceify min_adv_mss sysctl knob
authorxu xin <xu.xin16@zte.com.cn>
Wed, 26 Jan 2022 07:10:58 +0000 (07:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Jan 2022 13:34:09 +0000 (13:34 +0000)
commit2e9589ff809e9232f689acd51da73390e135146a
tree129f1811c65e0b710359b349d8c23e0b9869f6c0
parent349fdca687195b6636081790f8831d9b88fab7de
ipv4: Namespaceify min_adv_mss sysctl knob

Different netns has different requirement on the setting of min_adv_mss
sysctl which the advertised MSS will be never lower than.

Enable min_adv_mss to be configured per network namespace.

Signed-off-by: xu xin <xu.xin16@zte.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/netns/ipv4.h
net/ipv4/route.c