Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Oct 2004 18:28:40 -0400 (EDT)
From:      Robert Watson <rwatson@freebsd.org>
To:        Andre Oppermann <andre@freebsd.org>
Cc:        cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/netinet ip_divert.c
Message-ID:  <Pine.NEB.3.96L.1041019182730.81058K-100000@fledge.watson.org>
In-Reply-To: <41759239.A0F5B1DE@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On Wed, 20 Oct 2004, Andre Oppermann wrote:

> Hmm... I'll take a look at those attempts and see what I can come up
> with to get some general solution for the protocol cases.  The approach
> of callout_drain() looks promising though. 

BTW, it looks like the divert pcb zone uses UMA_ZONE_NOFREE so that the
memory is type-stable (presumably in particular for the sysctl), so all
memory allocated by the divert module for pcbs is likely leaked on unload.
I'm beginning to think we should just block unload for divert and solve
the unload problem another day for another protocol...

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert@fledge.watson.org      Principal Research Scientist, McAfee Research




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1041019182730.81058K-100000>