cvs commit: src/sys/netproto/ncp ncp_conn.c
Matthew Dillon
dillon at crater.dragonflybsd.org
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
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
More information about the Commits
mailing list