Subject: Re: How to find I/F to destination

From: Patrick McHardy <[email-masked]>
Date: Fri, 04 May 2007 15:59:18 +0200

David Howells wrote:
> Patrick McHardy <[email-masked]> wrote:
> 
> 
>>htons()
> 
> 
> Blech.  Thanks.  Does it actually matter what ports are specified?

It matters when IPsec port selectors are used to find the correct
policy.

>>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.