net: implement lockless SO_PRIORITY
authorEric Dumazet <edumazet@google.com>
Thu, 21 Sep 2023 20:28:11 +0000 (20:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Oct 2023 18:09:54 +0000 (19:09 +0100)
commit10bbf1652c1cca9819e98d56f3432c56d7a2d229
treeab9494c905436ea6f2b9fa1bb979addd2d58da71
parent06bc3668cc2a6db2831b9086f0e3c6ebda599dba
net: implement lockless SO_PRIORITY

This is a followup of 8bf43be799d4 ("net: annotate data-races
around sk->sk_priority").

sk->sk_priority can be read and written without holding the socket lock.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Wenjia Zhang <wenjia@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
24 files changed:
drivers/net/ppp/pppoe.c
include/net/bluetooth/bluetooth.h
net/appletalk/aarp.c
net/ax25/af_ax25.c
net/bluetooth/l2cap_sock.c
net/can/j1939/socket.c
net/can/raw.c
net/core/sock.c
net/dccp/ipv6.c
net/ipv4/inet_diag.c
net/ipv4/ip_output.c
net/ipv4/tcp_ipv4.c
net/ipv4/tcp_minisocks.c
net/ipv6/inet6_connection_sock.c
net/ipv6/ip6_output.c
net/ipv6/tcp_ipv6.c
net/mptcp/sockopt.c
net/netrom/af_netrom.c
net/rose/af_rose.c
net/sched/em_meta.c
net/sctp/ipv6.c
net/smc/af_smc.c
net/x25/af_x25.c
net/xdp/xsk.c