On Fri, May 04, 2007 at 03:59:18PM +0200, Patrick McHardy ([EMAIL PROTECTED])
wrote:
> >>You need dst_release(&rt->u.dst) here.
> >
> >
> > Thanks. I think Evgeniy's code may be wrong then. He ends with a
> > dst_clone(), which I think is superfluous.
>
>
> Yes, that looks wrong.
Main idea is to get a reference, and then clone it for each user.
Then each user drops its reference, and when system is not used anymore,
main reference is dropped too.
--
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