kernel/net/ipv6/xfrm6_input.c
.. .. @@ -86,6 +86,9 @@ 86 86 __be32 *udpdata32; 87 87 __u16 encap_type = up->encap_type; 88 88 89 + if (skb->protocol == htons(ETH_P_IP))90 + return xfrm4_udp_encap_rcv(sk, skb);91 +89 92 /* if this is not encapsulated socket, then just return now */ 90 93 if (!encap_type) 91 94 return 1;