ip: Use inline function dst_metric() instead of direct access to dst->metric[]
authorSatoru SATOH <satoru.satoh@gmail.com>
Mon, 5 May 2008 05:14:42 +0000 (22:14 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 May 2008 05:14:42 +0000 (22:14 -0700)
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: Satoru SATOH <satoru.satoh@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found