linux-kernelorg-stable/include
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
..
acpi
asm-generic
clocksource
crypto
cxl
drm
dt-bindings
hyperv
keys
kunit
kvm
linux net: pse-pd: Fix ethnl_pse_send_ntf() stub parameter type 2025-06-21 08:10:25 -07:00
math-emu
media
memory
misc
net net: remove sock_i_uid() 2025-06-23 17:04:03 -07:00
pcmcia
ras
rdma
rv
scsi
soc
sound
target
trace net/tcp_ao: tracing: Hide tcp_ao events under CONFIG_TCP_AO 2025-06-16 14:58:28 -07:00
uapi Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-06-19 13:00:24 -07:00
ufs
vdso
video
xen
Kbuild