From owner-freebsd-net Wed Nov 15 1:11:34 2000 Delivered-To: freebsd-net@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 2B87A37B479 for ; Wed, 15 Nov 2000 01:11:32 -0800 (PST) Received: from gosset.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 15 Nov 2000 09:11:31 +0000 (GMT) To: Alfred Perlstein Cc: David Malone , Julian Elischer , Bosko Milekic , iedowse@maths.tcd.ie, freebsd-net@FreeBSD.ORG Subject: Re: M_RDONLY: review & comment In-reply-to: Your message of "Wed, 15 Nov 2000 01:07:46 PST." <20001115010746.E29448@fw.wintelcom.net> X-Request-Do: Date: Wed, 15 Nov 2000 09:11:31 +0000 From: David Malone Message-ID: <200011150911.aa97224@salmon.maths.tcd.ie> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Modules using external clusters that point to some internal state > should disallow unload until all such references go away. Exactly - I haven't checked if they do yet. > The char * may need to be allocated via MALLOC and leaked when the > module is unloaded if mbufs without external storage are to be > tagged with a char *. If the module can't be unloaded until the mbufs have gone away then it is safe to free the string. It may be a moot point anyway, 'cos I think Bosko prefers using an int for the type and he's the boss ;-) David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message