On Fri, May 04, 2007 at 02:24:49PM +0100, David Howells ([EMAIL PROTECTED]) wrote: > Evgeniy Polyakov <[EMAIL PROTECTED]> wrote: > > > > Should route_get_raw() release the rtable if gets back? > > > > Yes, dst entry should be released when not used anymore. > > I meant the rtable returned by __ip_route_output_key(), not the dst.
That is the same, dst is dereferenced as rtable. Cloned dst is returned, so it must be put back at the ned of the usage. > David -- Evgeniy Polyakov - 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