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

Matthew Dillon dillon at
Sat Apr 22 19:35:59 PDT 2006

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

DragonFly src repository

  Modified files:
    sys/netproto/ncp     ncp_conn.c 
  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

More information about the Commits mailing list