Module Name: src
Committed By: pgoyette
Date: Wed May 24 06:52:14 UTC 2017
Modified Files:
src/sys/net: if_tun.c
Log Message:
Call cv_destroy() to deactivate the tun_cv before calling kmem_intr_free()
to deallocate the containing memory chunk (the tunnel's softc). Otherwise
a LOCKDEBUG kernel will panic in tun_clone_destroy().
Fixes PR kern/52255
To generate a diff of this commit:
cvs rdiff -u -r1.138 -r1.139 src/sys/net/if_tun.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.