Date: Thu, 25 Dec 2008 22:32:32 +0000 (UTC) From: Qing Li <qingli@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/net if_tun.c Message-ID: <200812252232.mBPMWo6J009607@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
qingli 2008-12-25 22:32:32 UTC FreeBSD src repository Modified files: sys/net if_tun.c Log: SVN rev 186497 on 2008-12-25 22:32:32Z by qingli The "tun?" dev need not be opened at all. One is allowed to perform the following operations, e.g.: 1) ifconfig tun0 create 2) ifconfig tun0 10.1.1.1 10.1.1.2 3) route add -net 192.103.54.0/24 -iface tun0 4) ifconfig tun0 destroy If cv wait on the TUN_CLOSED flag, then the last operation (4) will block forever. Revert the previous changes and fix the mtx_unlock() leak. Revision Changes Path 1.175 +2 -4 src/sys/net/if_tun.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812252232.mBPMWo6J009607>