cvs commit: src/sys/sys mutex.h src/sys/netinet ip_input.c

Robert Watson rwatson at FreeBSD.org
Sun Mar 28 15:12:20 PST 2004


rwatson     2004/03/28 15:12:19 PST

  FreeBSD src repository

  Modified files:
    sys/sys              mutex.h 
    sys/netinet          ip_input.c 
  Log:
  Invert the logic of NET_LOCK_GIANT(), and remove the one reference to it.
  Previously, Giant would be grabbed at entry to the IP local delivery code
  when debug.mpsafenet was set to true, as that implied Giant wouldn't be
  grabbed in the driver path.  Now, we will use this primitive to
  conditionally grab Giant in the event the entire network stack isn't
  running MPSAFE (debug.mpsafenet == 0).
  
  Revision  Changes    Path
  1.267     +0 -2      src/sys/netinet/ip_input.c
  1.70      +3 -3      src/sys/sys/mutex.h


More information about the cvs-all mailing list