[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250620133001.4090592-1-edumazet@google.com>
Date: Fri, 20 Jun 2025 13:29:59 +0000
From: Eric Dumazet <edumazet@...gle.com>
To: "David S . Miller" <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>
Cc: Simon Horman <horms@...nel.org>, Lorenzo Colitti <lorenzo@...gle.com>,
"Maciej Żenczykowski" <maze@...gle.com>, netdev@...r.kernel.org, eric.dumazet@...il.com,
Eric Dumazet <edumazet@...gle.com>
Subject: [PATCH net-next 0/2] net: replace sock_i_uid() with sk_uid()
First patch annotates sk->sk_uid accesses and adds sk_uid() helper.
Second patch removes sock_i_uid() in favor of the new helper.
Eric Dumazet (2):
net: annotate races around sk->sk_uid
net: remove sock_i_uid()
include/net/route.h | 4 ++--
include/net/sock.h | 12 +++++++++---
net/appletalk/atalk_proc.c | 2 +-
net/bluetooth/af_bluetooth.c | 2 +-
net/core/sock.c | 11 -----------
net/ipv4/inet_connection_sock.c | 31 ++++++++++++++-----------------
net/ipv4/inet_diag.c | 2 +-
net/ipv4/inet_hashtables.c | 4 ++--
net/ipv4/ping.c | 4 ++--
net/ipv4/raw.c | 4 ++--
net/ipv4/route.c | 3 ++-
net/ipv4/syncookies.c | 3 ++-
net/ipv4/tcp_ipv4.c | 8 ++++----
net/ipv4/udp.c | 19 ++++++++++---------
net/ipv6/af_inet6.c | 2 +-
net/ipv6/datagram.c | 4 ++--
net/ipv6/inet6_connection_sock.c | 4 ++--
net/ipv6/ping.c | 2 +-
net/ipv6/raw.c | 2 +-
net/ipv6/route.c | 4 ++--
net/ipv6/syncookies.c | 2 +-
net/ipv6/tcp_ipv6.c | 6 +++---
net/ipv6/udp.c | 5 +++--
net/key/af_key.c | 2 +-
net/l2tp/l2tp_ip6.c | 2 +-
net/llc/llc_proc.c | 2 +-
net/mptcp/protocol.c | 2 +-
net/packet/af_packet.c | 2 +-
net/packet/diag.c | 2 +-
net/phonet/socket.c | 4 ++--
net/sctp/input.c | 2 +-
net/sctp/proc.c | 4 ++--
net/sctp/socket.c | 4 ++--
net/smc/smc_diag.c | 2 +-
net/socket.c | 8 +++++---
net/tipc/socket.c | 2 +-
net/unix/af_unix.c | 2 +-
net/unix/diag.c | 2 +-
net/xdp/xsk_diag.c | 2 +-
39 files changed, 91 insertions(+), 93 deletions(-)
--
2.50.0.rc2.701.gf1e915cc24-goog
Powered by blists - more mailing lists