diff options
| author | Steffen Klassert <steffen.klassert@secunet.com> | 2026-03-13 10:44:04 +0300 |
|---|---|---|
| committer | Steffen Klassert <steffen.klassert@secunet.com> | 2026-03-13 10:44:04 +0300 |
| commit | 904eaf90a5e573c53117fd6cd4a06295b8bb2031 (patch) | |
| tree | 01835b29c26fd103afa0259a0b8982aceabd1951 /include | |
| parent | 0b352f83cabfefdaafa806d6471f0eca117dc7d5 (diff) | |
| parent | d87f8bc47fbf012a7f115e311d0603d97e47c34c (diff) | |
| download | linux-904eaf90a5e573c53117fd6cd4a06295b8bb2031.tar.xz | |
Merge branch 'xfrm-fix-most-sparse-warnings'
Sabrina Dubroca says:
====================
xfrm: fix most sparse warnings
This series fixes most of the sparse warnings currently reported about
RCU pointers for files under net/xfrm. There's no actual bug in the
current code, we only need to use the correct helpers in each context.
====================
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/net/netns/xfrm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/netns/xfrm.h b/include/net/netns/xfrm.h index 23dd647fe024..b73983a17e08 100644 --- a/include/net/netns/xfrm.h +++ b/include/net/netns/xfrm.h @@ -59,7 +59,7 @@ struct netns_xfrm { struct list_head inexact_bins; - struct sock *nlsk; + struct sock __rcu *nlsk; struct sock *nlsk_stash; u32 sysctl_aevent_etime; |
