X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/0b4e3aa066abc0728aacb4bbeb86f53f9737156e..765c9de3b4af7c2078d16a03812ae2c7c2b24938:/bsd/net/ether_if_module.c diff --git a/bsd/net/ether_if_module.c b/bsd/net/ether_if_module.c index 3964774c4..1720cb787 100644 --- a/bsd/net/ether_if_module.c +++ b/bsd/net/ether_if_module.c @@ -456,7 +456,8 @@ ether_frameout(ifp, m, ndest, edst, ether_type) if (lo_dlt) { if ((*m)->m_flags & M_BCAST) { struct mbuf *n = m_copy(*m, 0, (int)M_COPYALL); - dlil_output(lo_dlt, n, 0, ndest, 0); + if (n != NULL) + dlil_output(lo_dlt, n, 0, ndest, 0); } else {