diff options
author | David S. Miller <davem@davemloft.net> | 2011-01-28 14:05:05 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-01-28 14:05:05 -0800 |
commit | 725d1e1b457dc2bbebb337677e73efe7c6d14da5 (patch) | |
tree | b001a08feeff741963d8232ecb26e5c1a75efb92 /net/core | |
parent | 9c150e82ac50a611237bbebd508d17f6347d577c (diff) | |
download | linux-stable-725d1e1b457dc2bbebb337677e73efe7c6d14da5.tar.gz linux-stable-725d1e1b457dc2bbebb337677e73efe7c6d14da5.tar.bz2 linux-stable-725d1e1b457dc2bbebb337677e73efe7c6d14da5.zip |
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')
-rw-r--r-- | net/core/dst.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/dst.c b/net/core/dst.c index 578893505702..c1674fde827d 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) { |