hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/net/xfrm/xfrm_state.c
....@@ -2593,9 +2593,6 @@
25932593 if (inner_mode == NULL)
25942594 goto error;
25952595
2596
- if (!(inner_mode->flags & XFRM_MODE_FLAG_TUNNEL))
2597
- goto error;
2598
-
25992596 x->inner_mode = *inner_mode;
26002597
26012598 if (x->props.family == AF_INET)