diff options
author | Eric Dumazet <edumazet@google.com> | 2024-02-27 09:24:09 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-02-28 19:36:39 -0800 |
commit | 0598f8f3bb77893a13105d47bb7dfe42f1dc1f4e (patch) | |
tree | 46d9f5a898c8e044bbe5f1d8257e3a4311500827 /crypto/ecdsa.c | |
parent | e83ddcea65491efe29e12765996966509aa795d3 (diff) |
inet: annotate devconf data-races
Add READ_ONCE() in ipv4_devconf_get() and corresponding
WRITE_ONCE() in ipv4_devconf_set()
Add IPV4_DEVCONF_RO() and IPV4_DEVCONF_ALL_RO() macros,
and use them when reading devconf fields.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Link: https://lore.kernel.org/r/20240227092411.2315725-2-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'crypto/ecdsa.c')
0 files changed, 0 insertions, 0 deletions