https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=105943

--- Comment #7 from Ed Maste <ema...@freebsd.org> ---
ip_mloopback:
        /*
         * Make a deep copy of the packet because we're going to
         * modify the pack in order to generate checksums.
         */
        copym = m_dup(m, M_NOWAIT);
...
                if_simloop(ifp, copym, AF_INET, 0);





pim6_input:
                mcp = m_copym(m, 0, off + PIM6_REG_MINLEN, M_NOWAIT);
...
                if_simloop(mif6table[reg_mif_num].m6_ifp, m,
                                dst.sin6_family, 0);




ip6_mloopback:
        copym = m_copym(m, 0, M_COPYALL, M_NOWAIT);
...
        /*
         * Make sure to deep-copy IPv6 header portion in case the data
         * is in an mbuf cluster, so that we can safely override the IPv6
         * header portion later.
         */
        if (!M_WRITABLE(copym) ||
            copym->m_len < sizeof(struct ip6_hdr)) {
                copym = m_pullup(copym, sizeof(struct ip6_hdr));
                if (copym == NULL)
                        return;
        }
...
        if_simloop(ifp, copym, AF_INET6, 0);

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to