DragonFly BSD
DragonFly commits List (threaded) for 2006-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/netproto/ncp ncp_conn.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 22 Apr 2006 19:33:23 -0700 (PDT)

dillon      2006/04/22 19:33:23 PDT

DragonFly src repository

  Modified files:
    sys/netproto/ncp     ncp_conn.c 
  Log:
  Get rid of LK_DRAIN, rely on nc_lwant to interlock lock races against
  termination.  Only unlock/relock in ncp_conn_free() if lwant is non-zero.
  
  It is unclear whether nc_lwant is sufficient, though, but the original
  code was pretty horrendous.
  
  Revision  Changes    Path
  1.10      +23 -21    src/sys/netproto/ncp/ncp_conn.c


http://www.dragonflybsd.org/cvsweb/src/sys/netproto/ncp/ncp_conn.c.diff?r1=1.9&r2=1.10&f=u



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]