Date: Sun, 23 Apr 2006 16:25:30 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netnatm natm.c Message-ID: <200604231625.k3NGPVm5007680@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2006-04-23 16:25:30 UTC FreeBSD src repository Modified files: sys/netnatm natm.c Log: Eliminate unnecessary use of labels in error unwinding cases; result is the same number or fewer lines of code. Don't cast using caddr_t. Remember to unlock the natm lock in some error cases where it was leaked previously. Annotate two cases where we'd like to hold the natm subsystem lock over ioctls into the device driver. Hold the natm lock longer in natm_usr_connect() so we can copy the npcb fields while holding the mutex. MFC after: 3 months Revision Changes Path 1.46 +26 -35 src/sys/netnatm/natm.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604231625.k3NGPVm5007680>