cvs commit: src/sys/kern uipc_usrreq.c

Alan Cox alc at FreeBSD.org
Wed Dec 22 12:28:47 PST 2004


alc         2004-12-22 20:28:46 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             uipc_usrreq.c 
  Log:
  Add send buffer locking to uipc_send().  Without this locking a race can
  occur between a reader and a writer that results in a panic upon close,
  e.g.,
          "panic: sbflush_locked: cc 4 || mb 0xffffff0052afa400 || mbcnt 0"
  
  Reviewed by: rwatson@
  MFC after: 2 weeks
  
  Revision  Changes    Path
  1.144     +3 -0      src/sys/kern/uipc_usrreq.c


More information about the cvs-src mailing list