diff options
author | Eric Dumazet <edumazet@google.com> | 2024-02-13 06:32:36 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-02-14 11:20:13 +0000 |
commit | 4d42b37def70327b2bb19f823d42289aed2cd7c7 (patch) | |
tree | 0ee229c7a15618c9187eb26ef07f47cb2d0ee7ca /net/core/net-sysfs.c | |
parent | a6473fe9b623f6667af72d972b87cd9a5ff87e21 (diff) |
net: convert dev->reg_state to u8
Prepares things so that dev->reg_state reads can be lockless,
by adding WRITE_ONCE() on write side.
READ_ONCE()/WRITE_ONCE() do not support bitfields.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/net-sysfs.c')
0 files changed, 0 insertions, 0 deletions