Skip to content

Commit be1c5b5

Browse files
xu xindavem330
authored andcommitted
Documentation: fix outdated interpretation of ip_no_pmtu_disc
The updating way of pmtu has changed, but documentation is still in the old way. So this patch updates the interpretation of ip_no_pmtu_disc and min_pmtu. See commit 28d35bc ("net: ipv4: don't let PMTU updates increase route MTU") Reported-by: Zeal Robot <[email protected]> Signed-off-by: xu xin <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent ccc0c9b commit be1c5b5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Documentation/networking/ip-sysctl.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ ip_default_ttl - INTEGER
2525
ip_no_pmtu_disc - INTEGER
2626
Disable Path MTU Discovery. If enabled in mode 1 and a
2727
fragmentation-required ICMP is received, the PMTU to this
28-
destination will be set to min_pmtu (see below). You will need
28+
destination will be set to the smallest of the old MTU to
29+
this destination and min_pmtu (see below). You will need
2930
to raise min_pmtu to the smallest interface MTU on your system
3031
manually if you want to avoid locally generated fragments.
3132

@@ -49,7 +50,8 @@ ip_no_pmtu_disc - INTEGER
4950
Default: FALSE
5051

5152
min_pmtu - INTEGER
52-
default 552 - minimum discovered Path MTU
53+
default 552 - minimum Path MTU. Unless this is changed mannually,
54+
each cached pmtu will never be lower than this setting.
5355

5456
ip_forward_use_pmtu - BOOLEAN
5557
By default we don't trust protocol path MTUs while forwarding

0 commit comments

Comments
 (0)