CVSROOT:        /cvs
Module name:    src
Changes by:     bl...@cvs.openbsd.org   2017/10/18 11:01:14

Modified files:
        sys/netinet    : ip_icmp.c 
        sys/netinet6   : icmp6.c 

Log message:
When reusing an mbuf at the upper end of the network stack, strip
off the mbuf properties with m_resethdr().  It is a new packet,
especially M_LOOP indicating that it was running through lo(4)
should be cleared.  Use the ph_loopcnt to prevent looping at the
upper end of the stack.  Although not strictly necessary in icmp
reflect, it is a good idea to increase and check the counter here,
like in socket splicing.
OK mpi@ sashan@

Reply via email to