linux/Documentation
Menglong Dong 69dfccbc11 net: udp: correct the document for udp_mem
udp_mem is a vector of 3 INTEGERs, which is used to limit the number of
pages allowed for queueing by all UDP sockets.

However, sk_has_memory_pressure() in __sk_mem_raise_allocated() always
return false for udp, as memory pressure is not supported by udp, which
means that __sk_mem_raise_allocated() will fail once pages allocated
for udp socket exceeds udp_mem[0].

Therefor, udp_mem[0] is the only one that limit the number of pages.
However, the document of udp_mem just express that udp_mem[2] is the
limitation. So, just fix it.

Signed-off-by: Menglong Dong <imagedong@tencent.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-11-05 10:42:46 +00:00
..
2021-11-02 06:20:58 -07:00
2021-11-01 18:45:08 -07:00
2021-11-01 11:36:35 -07:00
2021-09-02 18:04:17 +02:00
2021-11-02 06:20:58 -07:00
2021-11-01 18:55:12 -07:00
2021-11-01 11:39:22 -07:00
2021-07-21 19:54:21 -07:00
2021-10-21 08:41:47 -07:00
2021-09-07 19:13:42 -07:00
2021-08-27 00:56:34 +10:00
2021-09-13 16:32:46 -07:00
2021-11-01 13:15:36 -07:00
2021-08-05 12:31:51 +02:00
2021-11-01 18:45:08 -07:00
2021-09-07 13:40:51 -07:00