cvs commit: src/sys/netinet ip_divert.c

Robert Watson rwatson at FreeBSD.org
Tue Oct 19 14:35:43 PDT 2004


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


More information about the cvs-src mailing list