diff options
author | Jason Xing <kernelxing@tencent.com> | 2024-04-18 10:36:01 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-04-19 13:38:03 +0300 |
commit | 84b6823cd96b38c40b3b30beabbfa48d92990e1a (patch) | |
tree | edd7dbf59b412cba1c4afa0180f33df18e84b8ac /net/unix/sysctl_net_unix.c | |
parent | 00ac0dc347dc2d557ba7a1da289708943a3ac5a7 (diff) | |
download | linux-84b6823cd96b38c40b3b30beabbfa48d92990e1a.tar.xz |
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 <kernelxing@tencent.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions