aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJiri Pirko <jiri@nvidia.com>2023-10-13 14:10:23 +0200
committerDavid S. Miller <davem@davemloft.net>2023-10-18 09:23:01 +0100
commit2034d90ae41ae93e30d492ebcf1f06f97a9cfba6 (patch)
tree8c16b208150b60347b4c6116d286726523245bc5 /scripts
parentee2a35fedbc942e6eeb9e351a53acb1fe6b101c5 (diff)
net: treat possible_net_t net pointer as an RCU one and add read_pnet_rcu()
Make the net pointer stored in possible_net_t structure annotated as an RCU pointer. Change the access helpers to treat it as such. Introduce read_pnet_rcu() helper to allow caller to dereference the net pointer under RCU read lock. Signed-off-by: Jiri Pirko <jiri@nvidia.com> Reviewed-by: Simon Horman <horms@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions