diff options
author | csjp <csjp@FreeBSD.org> | 2008-12-12 01:36:50 +0000 |
---|---|---|
committer | csjp <csjp@FreeBSD.org> | 2008-12-12 01:36:50 +0000 |
commit | 7073cd1683bb1a98c3dfaf3cf2092fdc59efcb16 (patch) | |
tree | e474b564442d61e3ce37be2b18b6f7862881f0d5 /sys/kern/subr_pcpu.c | |
parent | 9d93d25c0eaa787d926ecbbef45f6a216d99f7fe (diff) | |
download | FreeBSD-src-7073cd1683bb1a98c3dfaf3cf2092fdc59efcb16.zip FreeBSD-src-7073cd1683bb1a98c3dfaf3cf2092fdc59efcb16.tar.gz |
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
Diffstat (limited to 'sys/kern/subr_pcpu.c')
0 files changed, 0 insertions, 0 deletions