Skip to content

Commit aa709da

Browse files
lxindavem330
authored andcommitted
Documentation: fix sctp_wmem in ip-sysctl.rst
Since commit 1033990 ("sctp: implement memory accounting on tx path"), SCTP has supported memory accounting on tx path where 'sctp_wmem' is used by sk_wmem_schedule(). So we should fix the description for this option in ip-sysctl.rst accordingly. v1->v2: - Improve the description as Marcelo suggested. Fixes: 1033990 ("sctp: implement memory accounting on tx path") Signed-off-by: Xin Long <lucien.xin@gmail.com> Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent f633672 commit aa709da

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Documentation/networking/ip-sysctl.rst

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2866,7 +2866,14 @@ sctp_rmem - vector of 3 INTEGERs: min, default, max
28662866
Default: 4K
28672867

28682868
sctp_wmem - vector of 3 INTEGERs: min, default, max
2869-
Currently this tunable has no effect.
2869+
Only the first value ("min") is used, "default" and "max" are
2870+
ignored.
2871+
2872+
min: Minimum size of send buffer that can be used by SCTP sockets.
2873+
It is guaranteed to each SCTP socket (but not association) even
2874+
under moderate memory pressure.
2875+
2876+
Default: 4K
28702877

28712878
addr_scope_policy - INTEGER
28722879
Control IPv4 address scoping - draft-stewart-tsvwg-sctp-ipv4-00

0 commit comments

Comments
 (0)