Files
linux/net/tipc
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 <[email protected]>
Cc: Lorenzo Colitti <[email protected]>
Reviewed-by: Maciej Żenczykowski <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
2025-06-23 17:04:03 -07:00
..
…
…
2024-07-12 03:41:32 +01:00
…
2021-10-13 09:40:46 -07:00
…
…
2021-10-13 09:40:46 -07:00
2025-04-15 13:37:14 +02:00
…
2022-01-27 13:53:27 +00:00
…
…
…
2025-06-23 17:04:03 -07:00
…
…
…
…