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
--0F1p//8PRICkK4MW Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 21, 2005 at 10:50:00AM +0200, Szalai Andras wrote: +> Hi, +>=20 +> The situation is the following: +>=20 +> In g_nop_destroy() there is a line: +> g_free(gp->softc); +>=20 +> But what happens, when immediately after this line a=20 +> request comes in that is handled by g_nop_start. But=20 +> 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. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --0F1p//8PRICkK4MW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDWMAmForvXbEpPzQRAoTmAKCDNSbobT6C6tVWRMQ80rMLAjJcvACfUenO p9k0NDr1Wbo0pOOXJtJssVY= =gs3u -----END PGP SIGNATURE----- --0F1p//8PRICkK4MW--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051021101710.GA814>