aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorJason Xing <[email protected]>2024-04-18 07:36:01 +0000
committerDavid S. Miller <[email protected]>2024-04-19 10:38:03 +0000
commit84b6823cd96b38c40b3b30beabbfa48d92990e1a (patch)
treeedd7dbf59b412cba1c4afa0180f33df18e84b8ac /net/unix/sysctl_net_unix.c
parentMerge branch 'net_sched-dump-no-rtnl' (diff)
downloadkernel-84b6823cd96b38c40b3b30beabbfa48d92990e1a.tar.gz
kernel-84b6823cd96b38c40b3b30beabbfa48d92990e1a.zip
net: rps: protect last_qtail with rps_input_queue_tail_save() helper
Removing one unnecessary reader protection and add another writer protection to finish the locklessly proctection job. Note: the removed READ_ONCE() is not needed because we only have to protect the locklessly reader in the different context (rps_may_expire_flow()). Signed-off-by: Jason Xing <[email protected]> Reviewed-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions