Files
linux/net/ipv4
Eric Dumazet c51da3f7a1 net: remove sock_i_uid()
Difference between sock_i_uid() and sk_uid() is that
after sock_orphan(), sock_i_uid() returns GLOBAL_ROOT_UID
while sk_uid() returns the last cached sk->sk_uid value.

None of sock_i_uid() callers care about this.

Use sk_uid() which is much faster and inlined.

Note that diag/dump users are calling sock_i_ino() and
can not see the full benefit yet.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Lorenzo Colitti <lorenzo@google.com>
Reviewed-by: Maciej Żenczykowski <maze@google.com>
Link: https://patch.msgid.link/20250620133001.4090592-3-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-06-23 17:04:03 -07:00
..
2025-04-11 18:58:10 -07:00
2025-03-17 13:56:38 +00:00
2024-09-09 17:21:47 -07:00
2025-06-23 17:04:03 -07:00
2025-06-23 17:04:03 -07:00
2025-01-02 17:17:40 -08:00
2025-05-13 11:12:48 +02:00
2025-06-17 18:18:45 -07:00
2025-04-11 18:58:10 -07:00
2024-01-04 10:23:10 -08:00
2025-06-23 17:04:03 -07:00
2025-06-23 17:04:03 -07:00
2025-06-23 17:04:03 -07:00
2025-03-17 13:54:11 +00:00
2025-03-17 13:56:38 +00:00
2025-06-19 16:15:34 -07:00
2025-06-23 17:04:03 -07:00
2025-03-03 15:44:19 -08:00
2025-06-23 17:04:03 -07:00