diff options
| author | Eric Dumazet <edumazet@google.com> | 2024-10-29 19:14:25 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2024-10-31 19:19:36 -0700 |
| commit | a911bad094b010e276f072fe9a599b66e59ed5fe (patch) | |
| tree | f051548cb035f254931272820d95f062751c854e /drivers/net/dsa/dsa_loop.c | |
| parent | netlink: add NLA_POLICY_MAX_LEN macro (diff) | |
| download | linux-a911bad094b010e276f072fe9a599b66e59ed5fe.tar.gz linux-a911bad094b010e276f072fe9a599b66e59ed5fe.zip | |
dql: annotate data-races around dql->last_obj_cnt
dql->last_obj_cnt is read/written from different contexts,
without any lock synchronization.
Use READ_ONCE()/WRITE_ONCE() to avoid load/store tearing.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Joe Damato <jdamato@fastly.com>
Link: https://patch.msgid.link/20241029191425.2519085-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/dsa/dsa_loop.c')
0 files changed, 0 insertions, 0 deletions
