diff options
| author | Kuniyuki Iwashima <[email protected]> | 2025-07-16 22:08:13 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-07-17 23:25:21 +0000 |
| commit | cc03492c7b92cb4414bd72a88f4d88ceb78362f9 (patch) | |
| tree | 1b46db70c93a096173d0d4e1e0ebff603dbdc1cf /net/switchdev/switchdev.c | |
| parent | neighbour: Free pneigh_entry after RCU grace period. (diff) | |
| download | kernel-cc03492c7b92cb4414bd72a88f4d88ceb78362f9.tar.gz kernel-cc03492c7b92cb4414bd72a88f4d88ceb78362f9.zip | |
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 <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
