Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Mar 2004 15:12:19 -0800 (PST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/sys mutex.h src/sys/netinet ip_input.c
Message-ID:  <200403282312.i2SNCJmq041547@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403282312.i2SNCJmq041547>