kern/70399: ipfilter breaks IPv6 path mtu discovery

Mark Andrews Mark_Andrews at isc.org
Fri Aug 13 04:50:25 PDT 2004


The following reply was made to PR kern/70399; it has been noted by GNATS.

From: Mark Andrews <Mark_Andrews at isc.org>
To: freebsd-gnats-submit at FreeBSD.org, Mark_Andrews at isc.org
Cc:  
Subject: Re: kern/70399: ipfilter breaks IPv6 path mtu discovery
Date: Fri, 13 Aug 2004 21:44:00 +1000

 In sys/contrib/ipfilter/netinet/fil.c replace the m_pullup() call with
 
                  if (len > MHLEN && (m->m_flags & M_PKTHDR) != 0)
                          m = m_defrag(m, M_DONTWAIT);
                  else
                          m = m_pullup(m, len);
 
 as m_pullup() will always fail if len > MHLEN.


More information about the freebsd-bugs mailing list