From 102a0743326a03cd1a1202ceda21e175b7d3575c Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Tue, 20 Feb 2024 01:20:52 +0000 Subject: [PATCH] add new system file --- kernel/net/ipv6/xfrm6_input.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/kernel/net/ipv6/xfrm6_input.c b/kernel/net/ipv6/xfrm6_input.c index 04cbeef..4907ab2 100644 --- a/kernel/net/ipv6/xfrm6_input.c +++ b/kernel/net/ipv6/xfrm6_input.c @@ -86,6 +86,9 @@ __be32 *udpdata32; __u16 encap_type = up->encap_type; + if (skb->protocol == htons(ETH_P_IP)) + return xfrm4_udp_encap_rcv(sk, skb); + /* if this is not encapsulated socket, then just return now */ if (!encap_type) return 1; -- Gitblit v1.6.2