cvs commit: src/sys/netinet ip_input.c ip_output.c raw_ip.c

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Mon Oct 27 20:08:49 PDT 2008


sephe       2008/10/27 20:07:29 PDT

DragonFly src repository

  Modified files:
    sys/netinet          ip_input.c ip_output.c raw_ip.c 
  Log:
  - The assertion in ip_input, should test sizeof(struct ip) instead of sizeof(ip)
  - Make sure that ip_input's precondition meets in ip_localforward
  - Don't allow raw ip socket to send ip packet whose header length is less than
    the minimum
  - Nuke unused code and minor style changes
  
  Reviewed-by: nth@
  
  Revision  Changes    Path
  1.114     +3 -4      src/sys/netinet/ip_input.c
  1.67      +17 -10    src/sys/netinet/ip_output.c
  1.33      +25 -9     src/sys/netinet/raw_ip.c


http://www.dragonflybsd.org/cvsweb/src/sys/netinet/ip_input.c.diff?r1=1.113&r2=1.114&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netinet/ip_output.c.diff?r1=1.66&r2=1.67&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netinet/raw_ip.c.diff?r1=1.32&r2=1.33&f=u





More information about the Commits mailing list