Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Oct 2004 21:35:42 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/netinet ip_divert.c
Message-ID:  <200410192135.i9JLZgmv002301@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2004-10-19 21:35:42 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet          ip_divert.c 
  Log:
  Annotate a newly introduced race present due to the unloading of
  protocols: it is possible for sockets to be created and attached
  to the divert protocol between the test for sockets present and
  successful unload of the registration handler.  We will need to
  explore more mature APIs for unregistering the protocol and then
  draining consumers, or an atomic test-and-unregister mechanism.
  
  Revision  Changes    Path
  1.102     +4 -0      src/sys/netinet/ip_divert.c



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