]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/netinet/ip_output.c
xnu-3248.40.184.tar.gz
[apple/xnu.git] / bsd / netinet / ip_output.c
index 383751d4d07d559537beb48acd059ab80a1b5e6a..2788b0e79df671c1cbf22dd82b35e215b0257957 100644 (file)
@@ -1343,6 +1343,11 @@ sendit:
            struct ip *, ip, struct ip6_hdr *, NULL);
 
        error = ipsec4_output(&ipsec_state, sp, flags);
            struct ip *, ip, struct ip6_hdr *, NULL);
 
        error = ipsec4_output(&ipsec_state, sp, flags);
+       if (ipsec_state.tunneled == 6) {
+               m0 = m = NULL;
+               error = 0;
+               goto bad;
+       }
 
        m0 = m = ipsec_state.m;
 
 
        m0 = m = ipsec_state.m;