diff options
author | David Ahern <dsahern@gmail.com> | 2019-06-22 02:27:16 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-26 23:14:59 +0300 |
commit | c22a133a83ce64949dc35156eaefeda5a1e12bc3 (patch) | |
tree | a673724f126f4391966caea67adf1fef78a5eeae /net/dsa | |
parent | 4191faa25384afee063568437b0b255ef0c75237 (diff) | |
download | linux-c22a133a83ce64949dc35156eaefeda5a1e12bc3.tar.xz |
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>
Diffstat (limited to 'net/dsa')
0 files changed, 0 insertions, 0 deletions