net: implement lockless SO_MAX_PACING_RATE
authorEric Dumazet <edumazet@google.com>
Thu, 21 Sep 2023 20:28:15 +0000 (20:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Oct 2023 18:09:54 +0000 (19:09 +0100)
commit28b24f90020fed8e8e3e8e20575f08c1cd06e54f
tree3fc7b7bd080580d56131a0a3b46468b1b1eea6f2
parent2a4319cf3c83fc5d1997466196b99b3e14584e76
net: implement lockless SO_MAX_PACING_RATE

SO_MAX_PACING_RATE setsockopt() does not need to hold
the socket lock, because sk->sk_pacing_rate readers
can run fine if the value is changed by other threads,
after adding READ_ONCE() accessors.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/trace/events/mptcp.h
net/core/sock.c
net/ipv4/tcp_bbr.c
net/ipv4/tcp_input.c
net/ipv4/tcp_output.c
net/sched/sch_fq.c