netdev
[Top] [All Lists]

Re: [24/*] [IPSEC] Get ttl from child instead of path

To: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [24/*] [IPSEC] Get ttl from child instead of path
From: "David S. Miller" <davem@xxxxxxxxxxxxx>
Date: Fri, 18 Mar 2005 10:43:50 -0800
Cc: kuznet@xxxxxxxxxxxxx, yoshfuji@xxxxxxxxxxxxxx, kaber@xxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <20050318100757.GA29433@xxxxxxxxxxxxxxxxxxx>
References: <20050307103536.GB7137@xxxxxxxxxxxxxxxxxxx> <20050308102741.GA23468@xxxxxxxxxxxxxxxxxxx> <20050314102614.GA9610@xxxxxxxxxxxxxxxxxxx> <20050314105313.GA21001@xxxxxxxxxxxxxxxxxxx> <20050314111002.GA29156@xxxxxxxxxxxxxxxxxxx> <20050315091904.GA6256@xxxxxxxxxxxxxxxxxxx> <20050315095837.GA7130@xxxxxxxxxxxxxxxxxxx> <20050318090310.GA28443@xxxxxxxxxxxxxxxxxxx> <20050318091129.GA28658@xxxxxxxxxxxxxxxxxxx> <20050318091918.GA28944@xxxxxxxxxxxxxxxxxxx> <20050318100757.GA29433@xxxxxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On Fri, 18 Mar 2005 21:07:57 +1100
Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote:

> Now that dst_pmtu is almost gone let's do the same to dst_path_metric.
> I've only found one legitimate use of it and that's the one that was
> recently added in dst_allfrag.
> 
> This patch makes xfrm4_encap/xfrm6_encap use dst->child instead of
> dst->path so that we choose the correct route to get the hoplimit
> from when nested tunnels are present.
> 
> For simple tunnels dst->child == dst->path so there is no change.
> 
> Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>

Looks good, applied.

Thanks Herbert.

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