Merge branch 'tcp-better-visibility-when-receive-queues-are-full'
Eric Dumazet says:
====================
tcp: better visibility when receive queues are full
When a TCP socket can not queue an incoming packet, it is currently
hard to tell why, and how often the stack had to work to make room.
Patch 1 adds TcpExtTCPRcvCollapseSkipped, counting the collapses
skipped by the rate limit added in commit c2213d9b61c1 ("tcp: rate
limit receive queue collapsing"). Patch 2 is the packetdrill test
for this rate limit.
Patch 3 reports SKB_DROP_REASON_SOCKET_RCVBUFF instead of
SKB_DROP_REASON_PROTO_MEM when the socket is over sk_rcvbuf.
Patch 4 adds SKB_DROP_REASON_MEMCG, to tell memory cgroup charge
failures from protocol memory limits.
Patch 5 adds a packetdrill test exercising tcp_collapse() on both
the out-of-order queue and the receive queue: no existing test
was reaching its copy loop.
====================
Link: https://patch.msgid.link/20261114155150.235743-1-edumazet@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>