On Wed, Jan 25, 2006 at 08:12:02PM +0000, Eric W. Biederman wrote:
>
> Unfortunately because we have already call rt6_ifdown() the route is
> not found in the routing table, the dst_free does not decrement the
> count and is therefore unable to free the dst entry because the count
> is still elevated. 

If rt6_ifdown has already kicked the route out, then the dst ref count
should be zero.  Even if someone is still holding onto it dst_free will
attach the entry to the GC list which means that it'll be freed when it
eventually does hit zero.

The ref count held by ipv6_ifa_notify is dropped by ip6_del_rt in case
of an error.

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to