Date: Fri, 12 Dec 2008 01:36:50 +0000 (UTC) From: "Christian S.J. Peron" <csjp@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/net if_tun.c Message-ID: <200812120137.mBC1b0JJ042364@repoman.freebsd.org>
index | next in thread | raw e-mail
csjp 2008-12-12 01:36:50 UTC
FreeBSD src repository
Modified files:
sys/net if_tun.c
Log:
SVN rev 185963 on 2008-12-12 01:36:50Z by csjp
Consider processes attaching/detaching from tun(4) devices as being link
state changes. This change modifies tunopen and tunclose to call the
if_link_state_change() function. Among other things, this will result in
devd(8) receiving events from devctl(4) for linkup/link down. This allows
us to do several useful things, including initializing tunnel parameters
and adding routes.
Discussed on: freebsd-net@
MFC after: 2 weeks
Revision Changes Path
1.172 +2 -0 src/sys/net/if_tun.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812120137.mBC1b0JJ042364>
