inetpeer: Mark metrics as "new" in fresh inetpeer entries.
authorDavid S. Miller <davem@davemloft.net>
Thu, 27 Jan 2011 21:52:16 +0000 (13:52 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Jan 2011 21:52:16 +0000 (13:52 -0800)
commit144001bddcb4db62c2261f1d703d835851031577
treee10cd1840542b2a6d4873ff8477314d91e453881
parent606598237c856b0c6584c2263288657658140da9
inetpeer: Mark metrics as "new" in fresh inetpeer entries.

Set the RTAX_LOCKED metric to INETPEER_METRICS_NEW (basically,
all ones) on fresh inetpeer entries.

This way code can determine if default metrics have been loaded
in from a routing table entry already.

Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/inetpeer.h
net/ipv4/inetpeer.c