xfrm: fix most sparse warnings
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 15 repliesIn review
Patches in v1 No applies recorded yet
Reviews trailers per patch
None of the 10 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Simon Horman |
|---|---|
| Series | R-b |
| 1/10 | |
| 2/10 | |
| 3/10 | |
| 4/10 | |
| 5/10 | |
| 6/10 | |
| 7/10 | |
| 8/10 | |
| 9/10 | |
| 10/10 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH ipsec-next 00/10] 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.
Sabrina Dubroca (10):
xfrm: state: fix sparse warnings on xfrm_state_hold_rcu
xfrm: state: fix sparse warnings in xfrm_state_init
xfrm: state: fix sparse warnings around XFRM_STATE_INSERT
xfrm: state: add xfrm_state_deref_prot to state_by* walk under lock
xfrm: remove rcu/state_hold from xfrm_state_lookup_spi_proto
xfrm: state: silence sparse warnings during netns exit
xfrm: policy: fix sparse warnings in xfrm_policy_{init,fini}
xfrm: policy: silence sparse warning in xfrm_policy_unregister_afinfo
xfrm: add rcu_access_pointer to silence sparse warning for
xfrm_input_afinfo
xfrm: avoid RCU warnings around the per-netns netlink socket
include/net/netns/xfrm.h | 2 +- net/xfrm/xfrm_input.c | 5 +- net/xfrm/xfrm_policy.c | 10 ++-- net/xfrm/xfrm_state.c | 115 +++++++++++++++++++++------------------ net/xfrm/xfrm_user.c | 25 ++++++--- 5 files changed, 90 insertions(+), 67 deletions(-)
Signature · 1 line
2.51.2