Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Nov 2000 09:11:31 +0000
From:      David Malone <dwmalone@maths.tcd.ie>
To:        Alfred Perlstein <bright@wintelcom.net>
Cc:        David Malone <dwmalone@maths.tcd.ie>, Julian Elischer <julian@elischer.org>, Bosko Milekic <bmilekic@dsuper.net>, iedowse@maths.tcd.ie, freebsd-net@FreeBSD.ORG
Subject:   Re: M_RDONLY: review & comment 
Message-ID:   <200011150911.aa97224@salmon.maths.tcd.ie>
In-Reply-To: Your message of "Wed, 15 Nov 2000 01:07:46 PST." <20001115010746.E29448@fw.wintelcom.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi? <200011150911.aa97224>