]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/netinet6/ipsec.c
xnu-344.32.tar.gz
[apple/xnu.git] / bsd / netinet6 / ipsec.c
index 9991df62f19ef2a298d33c8bd6c4ed203e6c4c81..5c14febecad3f4dc5a3242fcc0215099fb542165 100644 (file)
@@ -3384,7 +3384,7 @@ ipsec_copypkt(m)
                         */
                        if (
                                n->m_ext.ext_free ||
-                               mclrefcnt[mtocl(n->m_ext.ext_buf)] > 1
+                               m_mclhasreference(n)
                            )
                        {
                                int remain, copied;