Home
last modified time | relevance | path

Searched hist:c22a133a83ce64949dc35156eaefeda5a1e12bc3 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/core/
H A Drtnetlink.cdiff c22a133a83ce64949dc35156eaefeda5a1e12bc3 Fri Jun 21 18:27:16 CDT 2019 David Ahern <dsahern@gmail.com> rtnetlink: skip metrics loop for dst_default_metrics

dst_default_metrics has all of the metrics initialized to 0, so nothing
will be added to the skb in rtnetlink_put_metrics. Avoid the loop if
metrics is from dst_default_metrics.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>