cvs commit: src/sys/netinet ip_demux.c

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Jul 6 12:26:51 PDT 2004


dillon      2004/07/06 12:26:39 PDT

DragonFly src repository

  Modified files:
    sys/netinet          ip_demux.c 
  Log:
  In ip_mport() (IP packet demux code), check the minimum length requirement
  for an IP packet *before* the defrag case rather then after.  This avoids
  a panic in ip_input.c where the length is already assumed to be reasonable.
  
  Bug-report-by: Allan Fields <bsd at xxxxxxxxxx>
  In-consultation-with: Jeffrey Hsu <hsu at xxxxxxxxxxxxxxxxxxxxx>
  
  Revision  Changes    Path
  1.23      +6 -6      src/sys/netinet/ip_demux.c


http://www.dragonflybsd.org/cvsweb/src/sys/netinet/ip_demux.c.diff?r1=1.22&r2=1.23&f=u





More information about the Commits mailing list