netdev
[Top] [All Lists]

Re: [AH6] Rearrange routing headers

To: Kazunori Miyazawa <kazunori@xxxxxxxxxxxx>
Subject: Re: [AH6] Rearrange routing headers
From: Mika Penttila" <mika.penttila@xxxxxxxxxxx>
Date: Sun, 25 Jul 2004 14:26:12 +0300
Cc: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>, "David S. Miller" <davem@xxxxxxxxxx>, netdev@xxxxxxxxxxx
In-reply-to: <200407251532.13292.kazunori@xxxxxxxxxxxx>
References: <20040724083709.GA9416@xxxxxxxxxxxxxxxxxxx> <200407250410.03741.kazunori@xxxxxxxxxxxx> <20040725080347.GA20251@xxxxxxxxxxxxxxxxxxx> <200407251532.13292.kazunori@xxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1

Kazunori Miyazawa wrote:

>2004/07/25(日) 17:03、Herbert Xu  wrote:
>  
>
>>On Sun, Jul 25, 2004 at 04:10:03AM +0900, Kazunori Miyazawa wrote:
>>    
>>
>>>To process routing header correctly, we should fix the codes which
>>>calls ip6_dst_lookup in ipv6 because there is difference of destinatio
>>>addresses for routing resolution and looking up xfrm_policy.
>>>      
>>>
>>What do you mean? Isn't the code in icmp.c/raw.c/tcp_ipv6.c/udp.c
>>that sets fl.fl6_dst using opt->srcrt enough?
>>
>>If not then we'll need to change IPv4 as well.
>>
>>    
>>
>routing is looked up with srcrt but xfrm is looked up with final
>destination, isn't it? we have the codes in our repository.
>sorry, I'm goring back to home from OLS2004.
>I'll send the patch when I will arrive at home.
>  
>

We are not doing this in ipv4 either. But it makes sense to do xfrm
lookup based on the final destination.

>Thank you,
>
>--Kazunori Miyazawa
>  
>


--Mika



<Prev in Thread] Current Thread [Next in Thread>