Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jun 2004 00:23:03 +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/kern subr_witness.c
Message-ID:  <200406130023.i5D0N3tZ049213@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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