Skip to content
Commit d891317f authored by Li RongQing's avatar Li RongQing Committed by Jakub Kicinski
Browse files

virtio_net: Remove u64_stats_update_begin()/end() for stats fetch



This place is fetching the stats, u64_stats_update_begin()/end()
should not be used, and the fetcher of stats is in the same context
as the updater of the stats, so don't need any protection

Suggested-by: default avatarJakub Kicinski <kuba@kernel.org>
Acked-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Signed-off-by: default avatarLi RongQing <lirongqing@baidu.com>
Link: https://lore.kernel.org/20240621094552.53469-1-lirongqing@baidu.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent c4532232
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment