cvs commit: src/sys/kern uipc_domain.c

Sam Leffler sam at FreeBSD.org
Sun Aug 31 22:01:56 PDT 2003


sam         2003/08/31 22:01:55 PDT

  FreeBSD src repository

  Modified files:
    sys/kern             uipc_domain.c 
  Log:
  o interlock domain list when adding domains
  o remove irrlevant spl
  
  Notes:
  
  1. We don't lock domain list traversals as this is safe until we start
     removing domains.
  2. The calculation of max_datalen in net_init_domain appears safe as
     noone depends on max_hdr and max_datalen having consistent values.
  3. Giant is still held for fast and slow timeouts; this must stay until
     each timeout routine is properly locked (coming soon).
  
  Sponsored by:   FreeBSD Fondation
  
  Revision  Changes    Path
  1.33      +9 -8      src/sys/kern/uipc_domain.c


More information about the cvs-src mailing list