First patch gets rid of SPI key from flowi struct. xfrm_policy populates this but there are no consumers.
This is part of a different patch (not part of this) to replace xfrm_decode_session internals with the flow dissector. Second patch removes a synchronize_rcu/initialisation in the init path. Third patch avoids a synchronize_rcu during netns destruction. Florian Westphal (3): flow: remove spi key from flowi struct xfrm: remove stray synchronize_rcu from xfrm_init xfrm: avoid synchronize_rcu during netns destruction include/net/flow.h | 3 --- net/xfrm/xfrm_policy.c | 42 ------------------------------------------ net/xfrm/xfrm_user.c | 10 +++++++--- 3 files changed, 7 insertions(+), 48 deletions(-) -- 2.26.3