--- zzzz-none-000/linux-5.4.213/net/xfrm/xfrm_policy.c 2022-09-15 10:04:56.000000000 +0000 +++ alder-5690pro-762/linux-5.4.213/net/xfrm/xfrm_policy.c 2024-08-14 09:02:15.000000000 +0000 @@ -2813,7 +2813,7 @@ continue; } - nf_reset_ct(skb); + nf_reset_no_generic_ct(skb); skb_dst_drop(skb); skb_dst_set(skb, dst); @@ -4137,6 +4137,9 @@ spin_lock_init(&net->xfrm.xfrm_state_lock); spin_lock_init(&net->xfrm.xfrm_policy_lock); mutex_init(&net->xfrm.xfrm_cfg_mutex); + spin_lock_init(&net->xfrm.xfrm_event_lock); + + INIT_LIST_HEAD(&net->xfrm.event_notifier_list); rv = xfrm_statistics_init(net); if (rv < 0) @@ -4182,6 +4185,7 @@ xfrm_dev_init(); seqcount_init(&xfrm_policy_hash_generation); xfrm_input_init(); + xfrm_output_init(); RCU_INIT_POINTER(xfrm_if_cb, NULL); synchronize_rcu();