Call zdestroy() on module unload to avoid panic on subsequent call to sysctl
commitfc7936fd7f28e7922664e22444143d1c09a2a2cc
authorNicolas Thery <nth@dragonflybsd.org>
Mon, 21 Jan 2008 21:16:59 +0000 (21 21:16 +0000)
committerNicolas Thery <nth@dragonflybsd.org>
Mon, 21 Jan 2008 21:16:59 +0000 (21 21:16 +0000)
treef3e928dfb21598931c81c809277d578480bc230b
parent3307a71a5a1daa3f1e1ce32615f77201770387bd
Call zdestroy() on module unload to avoid panic on subsequent call to sysctl
vm.zone.

Reported-by: Matthias Schmidt <matthias@dragonflybsd.org> (issue 910)
Debugged-by: Sepherosa Ziehau <sepherosa@gmail.com>, Matthew Dillon <dillon@apollo.backplane.com>
sys/net/pf/pfvar.h