ipv4: Attach FIB info to dst_default_metrics when possible
authorDavid S. Miller <davem@davemloft.net>
Fri, 28 Jan 2011 22:05:05 +0000 (14:05 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Jan 2011 22:05:05 +0000 (14:05 -0800)
commit725d1e1b457dc2bbebb337677e73efe7c6d14da5
treeb001a08feeff741963d8232ecb26e5c1a75efb92
parent9c150e82ac50a611237bbebd508d17f6347d577c
ipv4: Attach FIB info to dst_default_metrics when possible

If there are no explicit metrics attached to a route, hook
fi->fib_info up to dst_default_metrics.

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