diff options
author | Kuniyuki Iwashima <kuniyu@google.com> | 2025-07-16 22:08:13 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-07-17 16:25:21 -0700 |
commit | cc03492c7b92cb4414bd72a88f4d88ceb78362f9 (patch) | |
tree | 1b46db70c93a096173d0d4e1e0ebff603dbdc1cf /net/nsh/nsh.c | |
parent | d539d8fbd8fcf64a1492c51f5ee99aaa8a8dc9ab (diff) |
neighbour: Annotate access to struct pneigh_entry.{flags,protocol}.
We will convert pneigh readers to RCU, and its flags and protocol
will be read locklessly.
Let's annotate the access to the two fields.
Note that all access to pn->permanent is under RTNL (neigh_add()
and pneigh_ifdown_and_unlock()), so WRITE_ONCE() and READ_ONCE()
are not needed.
Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20250716221221.442239-9-kuniyu@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/nsh/nsh.c')
0 files changed, 0 insertions, 0 deletions