cvs commit: src/sys/netinet ip_input.c

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Aug 10 11:24:16 PDT 2007


dillon      2007/08/10 11:23:07 PDT

DragonFly src repository

  Modified files:
    sys/netinet          ip_input.c 
  Log:
  The 1's complement checksum in m->m_pkthdr.csum_data was not being properly
  calculated.  With 1's complement you have to take the carry past 16 bits
  and fold it back into the checksum.
  
  Revision  Changes    Path
  1.68      +9 -0      src/sys/netinet/ip_input.c


http://www.dragonflybsd.org/cvsweb/src/sys/netinet/ip_input.c.diff?r1=1.67&r2=1.68&f=u





More information about the Commits mailing list