cvs commit: src/sys/kern subr_witness.c

Robert Watson rwatson at FreeBSD.org
Sun Jun 13 00:24:10 GMT 2004


rwatson     2004-06-13 00:23:03 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             subr_witness.c 
  Log:
  Introduce socket and UNIX domain socket locks into hard-coded lock
  order definition for witness.  Send lock before receive lock, and
  socket locks after accept but  before select:
  
    filedesc -> accept -> so_snd -> so_rcv -> sellck
  
  All routing locks after send lock:
  
    so_rcv -> radix node head
  
  All protocol locks before socket locks:
  
    unp -> so_snd
    udp -> udpinp -> so_snd
    tcp -> tcpinp -> so_snd
  
  Revision  Changes    Path
  1.174     +8 -1      src/sys/kern/subr_witness.c


More information about the cvs-src mailing list