cvs commit: src/sys/net/pf pf_norm.c

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Aug 11 11:52:11 PDT 2007


dillon      2007/08/11 11:51:34 PDT

DragonFly src repository

  Modified files:
    sys/net/pf           pf_norm.c 
  Log:
  Port FreeBSD/pf_norm.c 1.18 - fix 1's complement carry for csum_data when
  pasting IP fragments together.   Use a slightly differnt calculation.
  FreeBSD uses a while() loop which only ever iterates once, so you only
  really need an if().
  
  Revision  Changes    Path
  1.8       +14 -0     src/sys/net/pf/pf_norm.c


http://www.dragonflybsd.org/cvsweb/src/sys/net/pf/pf_norm.c.diff?r1=1.7&r2=1.8&f=u





More information about the Commits mailing list