Date: Fri, 21 Oct 2005 12:17:10 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Szalai Andras <andrew@djw.hu> Cc: freebsd-geom@freebsd.org Subject: Re: gnop problem? Message-ID: <20051021101710.GA814@garage.freebsd.pl> In-Reply-To: <20051021085000.GA62267@web.djw.hu> References: <20051021085000.GA62267@web.djw.hu>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Fri, Oct 21, 2005 at 10:50:00AM +0200, Szalai Andras wrote: +> Hi, +> +> The situation is the following: +> +> In g_nop_destroy() there is a line: +> g_free(gp->softc); +> +> But what happens, when immediately after this line a +> request comes in that is handled by g_nop_start. But +> softc is already freed -> panic? There is a check if provider is closed. If it is closed, no I/O requests are going to happen. -- Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDWMAmForvXbEpPzQRAoTmAKCDNSbobT6C6tVWRMQ80rMLAjJcvACfUenO p9k0NDr1Wbo0pOOXJtJssVY= =gs3u -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051021101710.GA814>
