Date: Mon, 29 Mar 2004 10:42:51 -0800 (PST) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net if_tun.c Message-ID: <200403291842.i2TIgpr0029918@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2004/03/29 10:42:51 PST FreeBSD src repository Modified files: sys/net if_tun.c Log: Lock down if_tun global variables using a new mutex, tunmtx. As with other pseudo-interfaces, break out tear-down of a softc into a separate tun_destroy() function, and invoke that from the module unloader. Hold tunmtx across manipulations of the global softc list. Revision Changes Path 1.138 +31 -11 src/sys/net/if_tun.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403291842.i2TIgpr0029918>