diff options
| author | 2023-10-13 14:10:23 +0200 | |
|---|---|---|
| committer | 2023-10-18 09:23:01 +0100 | |
| commit | 2034d90ae41ae93e30d492ebcf1f06f97a9cfba6 (patch) | |
| tree | 8c16b208150b60347b4c6116d286726523245bc5 /scripts/Makefile.thinlto | |
| parent | Merge tag 'mlx5-updates-2023-10-10' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux (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/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
