cvs commit: src/sys/netinet ip_icmp.c ip_input.c ip_var.h tcp_syncache.c src/sys/sys mbuf.h

Andre Oppermann andre at FreeBSD.org
Wed Sep 15 13:13:26 PDT 2004


andre       2004-09-15 20:13:26 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet          ip_icmp.c ip_input.c ip_var.h 
                         tcp_syncache.c 
    sys/sys              mbuf.h 
  Log:
  Remove the last two global variables that are used to store packet state while
  it travels through the IP stack.  This wasn't much of a problem because IP
  source routing is disabled by default but when enabled together with SMP and
  preemption it would have very likely cross-corrupted the IP options in transit.
  
  The IP source route options of a packet are now stored in a mtag instead of the
  global variable.
  
  Revision  Changes    Path
  1.97      +1 -1      src/sys/netinet/ip_icmp.c
  1.287     +44 -35    src/sys/netinet/ip_input.c
  1.91      +1 -1      src/sys/netinet/ip_var.h
  1.67      +2 -2      src/sys/netinet/tcp_syncache.c
  1.158     +1 -0      src/sys/sys/mbuf.h


More information about the cvs-src mailing list