From: David Ahern
Date: Mon, 26 Feb 2018 13:20:27 -0700
> +static void ip6_rt_init_dst(struct rt6_info *rt, struct rt6_info *ort)
> +{
> + if (ort->rt6i_flags & RTF_REJECT) {
> + ip6_rt_init_dst_reject(rt, ort);
> + return;
> + }
> +
> + rt->dst.error = 0;
> +
On 2/26/18 12:17 PM, David Miller wrote:
> From: David Ahern
> Date: Sun, 25 Feb 2018 11:47:18 -0800
>
>> +static void ip6_rt_init_dst(struct rt6_info *rt, struct rt6_info *ort)
>> +{
> ...
>> +rt->dst.error = 0;
>> +rt->dst.output = ip6_output;
> ...
>> @@ -930,14 +999,12 @@ static voi
From: David Ahern
Date: Sun, 25 Feb 2018 11:47:18 -0800
> +static void ip6_rt_init_dst(struct rt6_info *rt, struct rt6_info *ort)
> +{
...
> + rt->dst.error = 0;
> + rt->dst.output = ip6_output;
...
> @@ -930,14 +999,12 @@ static void rt6_set_from(struct rt6_info *rt, struct
> rt6_info
Defer setting dst input, output and error until fib entry is copied.
Signed-off-by: David Ahern
---
net/ipv6/route.c | 115 +++
1 file changed, 74 insertions(+), 41 deletions(-)
diff --git a/net/ipv6/route.c b/net/ipv6/route.c
index ff809ee930