Eric Dumazet
900f27fb79
net: change sock_queue_rcv_skb_reason() to return a drop_reason
Change sock_queue_rcv_skb_reason() to return the drop_reason directly
instead of using a reference.
This is part of an effort to remove stack canaries and reduce bloat.
$ scripts/bloat-o-meter -t vmlinux.old vmlinux.new
add/remove: 0/0 grow/shrink: 3/7 up/down: 79/-301 (-222)
Function old new delta
vsock_queue_rcv_skb 50 79 +29
ipmr_cache_report 1290 1315 +25
ip6mr_cache_report 1322 1347 +25
packet_rcv_spkt 329 327 -2
sock_queue_rcv_skb_reason 166 128 -38
raw_rcv_skb 122 80 -42
ping_queue_rcv_skb 109 61 -48
ping_rcv 215 162 -53
rawv6_rcv_skb 278 224 -54
raw_rcv 591 527 -64
Total: Before=29722890, After=29722668, chg -0.00%
Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20260409145625.2306224-2-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2026-04-12 14:30:25 -07:00
..
2025-07-10 15:27:32 -07:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2026-03-19 14:16:00 -07:00
2026-02-21 17:09:51 -08:00
2026-04-08 18:50:27 -07:00
2026-04-01 16:48:28 -04:00
2026-02-21 17:09:51 -08:00
2026-04-10 15:52:24 -07:00
2026-02-21 17:09:51 -08:00
2026-04-12 14:30:25 -07:00
2026-03-11 10:18:56 +01:00
2026-04-12 14:30:25 -07:00
2026-02-21 17:09:51 -08:00
2026-04-09 13:20:59 -07:00
2026-03-09 18:32:45 -07:00
2026-04-12 09:03:55 -07:00
2026-03-16 19:29:45 -07:00
2026-04-09 18:21:46 -07:00
2026-02-21 01:02:28 -08:00
2026-04-07 17:06:16 +02:00
2026-03-02 18:17:17 -08:00
2026-04-12 14:30:25 -07:00
2026-04-12 14:30:25 -07:00
2026-03-31 20:14:56 -07:00
2026-02-23 17:26:55 -08:00
2026-04-07 11:08:24 +02:00
2026-04-09 13:20:59 -07:00
2025-04-15 17:54:56 -07:00
2026-02-21 01:02:28 -08:00
2026-02-21 01:02:28 -08:00
2026-04-09 19:27:43 -07:00
2026-03-16 19:29:45 -07:00
2026-04-06 18:06:47 -07:00
2026-04-02 11:03:13 -07:00
2026-04-09 19:27:43 -07:00
2026-03-06 17:34:48 -08:00
2026-04-09 13:20:59 -07:00
2026-02-21 17:09:51 -08:00
2026-03-12 19:29:01 -07:00
2026-02-21 17:09:51 -08:00
2026-03-19 16:56:18 -07:00
2026-04-09 19:27:43 -07:00
2026-03-23 17:07:19 -07:00
2026-03-19 14:16:00 -07:00
2026-02-21 01:02:28 -08:00
2026-03-29 11:21:22 -07:00
2026-04-02 11:03:13 -07:00
2026-04-02 11:03:13 -07:00
2026-04-07 12:35:04 +02:00
2026-03-12 19:23:59 -07:00
2026-04-09 13:20:59 -07:00
2026-04-09 13:20:59 -07:00
2026-04-09 19:27:43 -07:00
2026-03-19 13:47:15 +01:00
2026-03-20 18:59:30 -07:00
2025-11-13 12:35:38 -08:00
2026-03-18 14:27:11 -07:00
2026-03-19 13:14:00 +01:00
2026-04-09 19:27:43 -07:00
2026-04-09 13:20:59 -07:00
2026-04-09 13:20:59 -07:00
2026-04-06 18:29:01 -07:00
2026-03-26 18:17:14 -07:00
2026-04-02 13:36:08 +02:00
2026-04-09 18:26:28 -07:00
2026-04-09 13:20:59 -07:00
2025-11-26 13:45:23 -07:00
2025-10-17 16:29:26 -07:00
2025-09-18 12:32:06 +02:00
2026-03-11 20:38:00 -07:00