cvs commit: src/sys/kern uipc_domain.c

Max Laier mlaier at FreeBSD.org
Thu Dec 9 03:47:30 PST 2004


mlaier      2004-12-09 11:47:30 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             uipc_domain.c 
  Log:
  Start the protocol timeouts only after all domains have been initialized
  completely. For some reason (that I am still curious about) we started to no
  longer manage to finish the initialization before the timeouts run the first
  time leading to panics when using uninitialized mutex etc.
  
  The root of this problem is that we currently first link a domain to the
  domains list and only later initialize the domain's protocols. This should
  be reworked in the future, but with the current API it is not possible in
  all situations. We settle with this lazy fix for now.
  
  Tested by:      gnn, ru, myself
  
  Revision  Changes    Path
  1.43      +3 -3      src/sys/kern/uipc_domain.c


More information about the cvs-all mailing list