aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorJason Xing <[email protected]>2025-03-17 12:03:14 +0000
committerJakub Kicinski <[email protected]>2025-03-25 11:27:20 +0000
commit9552f90835ef3552d0af327e48dc360717777d62 (patch)
treed3520dc3d4e998663707372a6b6e95e190ea92f4 /net/unix/af_unix.c
parenttcp: support TCP_RTO_MIN_US for set/getsockopt use (diff)
downloadkernel-9552f90835ef3552d0af327e48dc360717777d62.tar.gz
kernel-9552f90835ef3552d0af327e48dc360717777d62.zip
tcp: support TCP_DELACK_MAX_US for set/getsockopt use
Support adjusting/reading delayed ack max for socket level by using set/getsockopt(). This option aligns with TCP_BPF_DELACK_MAX usage. Considering that bpf option was implemented before this patch, so we need to use a standalone new option for pure tcp set/getsockopt() use. Add WRITE_ONCE/READ_ONCE() to prevent data-race if setsockopt() happens to write one value to icsk_delack_max while icsk_delack_max is being read. Signed-off-by: Jason Xing <[email protected]> Reviewed-by: Eric Dumazet <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions