diff options
author | 2024-04-18 15:36:01 +0800 | |
---|---|---|
committer | 2024-04-19 11:38:03 +0100 | |
commit | 84b6823cd96b38c40b3b30beabbfa48d92990e1a (patch) | |
tree | edd7dbf59b412cba1c4afa0180f33df18e84b8ac /net/ipv6 | |
parent | Merge branch 'net_sched-dump-no-rtnl' (diff) | |
download | wireguard-linux-84b6823cd96b38c40b3b30beabbfa48d92990e1a.tar.xz wireguard-linux-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 <kernelxing@tencent.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
0 files changed, 0 insertions, 0 deletions