aboutsummaryrefslogtreecommitdiff
path: root/net/core/dst.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-01-28 14:05:05 -0800
committerDavid S. Miller <davem@davemloft.net>2011-01-28 14:05:05 -0800
commit725d1e1b457dc2bbebb337677e73efe7c6d14da5 (patch)
treeb001a08feeff741963d8232ecb26e5c1a75efb92 /net/core/dst.c
parent9c150e82ac50a611237bbebd508d17f6347d577c (diff)
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>
Diffstat (limited to 'net/core/dst.c')
-rw-r--r--net/core/dst.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/dst.c b/net/core/dst.c
index 57889350570..c1674fde827 100644
--- a/net/core/dst.c
+++ b/net/core/dst.c
@@ -164,7 +164,7 @@ int dst_discard(struct sk_buff *skb)
}
EXPORT_SYMBOL(dst_discard);
-static const u32 dst_default_metrics[RTAX_MAX];
+const u32 dst_default_metrics[RTAX_MAX];
void *dst_alloc(struct dst_ops *ops)
{