tap(4): More fixes to tapuponopen.
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Mon, 18 May 2009 14:17:42 +0000 (22:17 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Mon, 25 May 2009 11:08:25 +0000 (19:08 +0800)
commitca848e1315a0a06ffd921cd809527193f37fee7e
tree6b7c8b04fecf370471ba329d3ecf87ddfd289f0c
parent5f9a4b8eb3594b96ced7309606b67692d64f5670
tap(4): More fixes to tapuponopen.

If tap(4) is cloned, we bring down the interface during closing only
if the interface was brought up during opening.
sys/net/tap/if_tap.c
sys/net/tap/if_tapvar.h