diff options
author | emaste <emaste@FreeBSD.org> | 2012-09-25 22:10:14 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2012-09-25 22:10:14 +0000 |
commit | e89f1e29503b91186f3a0112d505bbf1cf134d22 (patch) | |
tree | 3710e3522127c270251c24df5491c598b5d8045f /cddl/contrib | |
parent | b79f4497f47c4bf0824bf360a49bc975c3ee62ba (diff) | |
download | FreeBSD-src-e89f1e29503b91186f3a0112d505bbf1cf134d22.zip FreeBSD-src-e89f1e29503b91186f3a0112d505bbf1cf134d22.tar.gz |
Avoid INVARIANTS panic destroying an in-use tap(4)
The requirement (implied by the KASSERT in tap_destroy) that the tap is
closed isn't valid; destroy_dev will block in devdrn while other threads
are in d_* functions.
Note: if_tun had the same issue, addressed in SVN revisions r186391,
r186483 and r186497. The use of the condvar there appears to be
redundant with the functionality provided by destroy_dev.
Sponsored by: ADARA Networks
Reviewed by: dwhite
MFC after: 2 weeks
Diffstat (limited to 'cddl/contrib')
0 files changed, 0 insertions, 0 deletions