[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150214.202825.1278379041799078856.davem@davemloft.net>
Date: Sat, 14 Feb 2015 20:28:25 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: kafai@...com
Cc: netdev@...r.kernel.org, hannes@...essinduktion.org,
kernel-team@...com
Subject: Re: [PATCH net-next v2] ipv6: fix ipv6_cow_metrics for non
DST_HOST case
From: Martin KaFai Lau <kafai@...com>
Date: Thu, 12 Feb 2015 16:14:08 -0800
> ipv6_cow_metrics() currently assumes only DST_HOST routes require
> dynamic metrics allocation from inetpeer. The assumption breaks
> when ndisc discovered router with RTAX_MTU and RTAX_HOPLIMIT metric.
> Refer to ndisc_router_discovery() in ndisc.c and note that dst_metric_set()
> is called after the route is created.
>
> This patch creates the metrics array (by calling dst_cow_metrics_generic) in
> ipv6_cow_metrics().
...
> Fixes: 8e2ec639173f325 (ipv6: don't use inetpeer to store metrics for routes.)
> Signed-off-by: Martin KaFai Lau <kafai@...com>
Applied, thank you.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists