Skip to content
Commit 5ffc02a1 authored by Satoru SATOH's avatar Satoru SATOH Committed by David S. Miller
Browse files

ip: Use inline function dst_metric() instead of direct access to dst->metric[]



There are functions to refer to the value of dst->metric[THE_METRIC-1]
directly without use of a inline function "dst_metric" defined in
net/dst.h.

The following patch changes them to use the inline function
consistently.

Signed-off-by: default avatarSatoru SATOH <satoru.satoh@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0bbeafd0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment