=SK_MEM_RECV
v2: use __array(3) instead of 3 long type to store sysctl_mem
Fixes: 3847ce32aea9fdf ("core: add tracepoints for queueing skb to rcvbuf")
Signed-off-by: Dust Li
---
include/trace/events/sock.h | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/include/tr
. The udp server receive slowly, causing the udp_prot->memory_allocated
exceed udp_mem[0], but still under udp_mem[2]
I wrote a test script to reproduce this:
https://github.com/dust-li/kernel-test/blob/master/exceed_udp_mem_min_drop/exceed_udp_mem_min_drop.sh
Obviously, we s
=SK_MEM_RECV
Fixes: 3847ce32aea9fdf ("core: add tracepoints for queueing skb to rcvbuf")
Signed-off-by: Dust Li
---
include/trace/events/sock.h | 14 +-
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/include/trace/events/sock.h b/include/trace/events/sock.h
index a9