Date: Thu, 1 Jul 1999 07:25:50 +0700 (ALMST) From: Boris Popov <bp@butya.kz> To: freebsd-current@freebsd.org Subject: Bad reference to zname in vm_zone struct Message-ID: <Pine.BSF.4.10.9907010714520.47857-100000@lion.butya.kz>
next in thread | raw e-mail | index | archive | help
Hello, Here is a 'little' problem with vm_zone structure and field 'zname' in it. zinit() function takes a pointer to name of zone and assigns it to field zname. Since nfs module defines this name in the static module memory pointer to name becomes invalid when module unloaded via kldunload command. This will lead to trap in kernel or will produce junk in sysctl output: # kldload nfs # kldunload nfs # sysctl vm.zone Last command will produce panic. This has been reported as PR-kern/12464 -- Boris Popov http://www.butya.kz/~bp/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9907010714520.47857-100000>