--- zzzz-none-000/linux-5.4.213/net/xfrm/xfrm_device.c 2022-09-15 10:04:56.000000000 +0000 +++ miami-7690-761/linux-5.4.213/net/xfrm/xfrm_device.c 2024-05-29 11:20:02.000000000 +0000 @@ -275,8 +275,9 @@ return false; if ((!dev || (dev == xfrm_dst_path(dst)->dev)) && - (!xdst->child->xfrm)) { - mtu = xfrm_state_mtu(x, xdst->child_mtu_cached); + (!xdst->child->xfrm && x->type->get_mtu)) { + mtu = x->type->get_mtu(x, xdst->child_mtu_cached); + if (skb->len <= mtu) goto ok;