Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Mar 2003 10:27:33 -0800 (PST)
From:      Andrew Gallatin <gallatin@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern uipc_cow.c
Message-ID:  <200303181827.h2IIRXJD036516@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
gallatin    2003/03/18 10:27:33 PST

  FreeBSD src repository

  Modified files:
    sys/kern             uipc_cow.c 
  Log:
  Fix a race condition in socow_setup(): The page must be wired before
  sf_buf_alloc() is called, as sf_buf_alloc() may sleep.  If it does sleep,
  the page might be reclaimed before wiring occurs.
  
  Reported by: alc
  
  Revision  Changes    Path
  1.10      +7 -4      src/sys/kern/uipc_cow.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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