Skip to content

Commit c6b10de

Browse files
lxinkuba-moo
authored andcommitted
Documentation: fix udp_wmem_min in ip-sysctl.rst
UDP doesn't support tx memory accounting, and sysctl udp_wmem_min is not really used anywhere. So we should fix the description in ip-sysctl.rst accordingly. Fixes: 95766ff ("[UDP]: Add memory accounting.") Signed-off-by: Xin Long <[email protected]> Link: https://lore.kernel.org/r/c880a963d9b1fb5f442ae3c9e4dfa70d45296a16.1658167019.git.lucien.xin@gmail.com Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 53eb9b0 commit c6b10de

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Documentation/networking/ip-sysctl.rst

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1052,11 +1052,7 @@ udp_rmem_min - INTEGER
10521052
Default: 4K
10531053

10541054
udp_wmem_min - INTEGER
1055-
Minimal size of send buffer used by UDP sockets in moderation.
1056-
Each UDP socket is able to use the size for sending data, even if
1057-
total pages of UDP sockets exceed udp_mem pressure. The unit is byte.
1058-
1059-
Default: 4K
1055+
UDP does not have tx memory accounting and this tunable has no effect.
10601056

10611057
RAW variables
10621058
=============

0 commit comments

Comments
 (0)