diff options
| author | David Yang <mmyangfl@gmail.com> | 2026-01-20 12:21:30 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-01-26 00:14:11 +0300 |
| commit | dd7fca9f49d3e7ab7e48d9c616bff0c84148a7e0 (patch) | |
| tree | 304c38b8a3269751c6fce84e9e025b00596ad47c /include/linux/workqueue.h | |
| parent | df153517e4d4403d13d603cccef68255783d396b (diff) | |
| download | linux-dd7fca9f49d3e7ab7e48d9c616bff0c84148a7e0.tar.xz | |
net: bridge: mcast: fix memcpy with u64_stats
On 64bit arches, struct u64_stats_sync is empty and provides no help
against load/store tearing. memcpy() should not be considered atomic
against u64 values. Use u64_stats_copy() instead.
Signed-off-by: David Yang <mmyangfl@gmail.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Link: https://patch.msgid.link/20260120092137.2161162-3-mmyangfl@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions
