/[base]
ViewVC logotype

Revision 346602


Jump to revision: Previous Next
Author: kevans
Date: Tue Apr 23 17:28:28 2019 UTC (5 years, 2 months ago)
Changed paths: 1
Log Message:
tun(4): Defer clearing TUN_OPEN until much later

tun destruction will not continue until TUN_OPEN is cleared. There are brief
moments in tunclose where the mutex is dropped and we've already cleared
TUN_OPEN, so tun_destroy would be able to proceed while we're in the middle
of cleaning up the tun still. tun_destroy should be blocked until these
parts (address/route purges, mostly) are complete.

PR:		233955
MFC after:	2 weeks


Changed paths

Path Details
Directoryhead/sys/net/if_tun.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27