]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6939a09f7d3e13da33f66d371a4d665394c5e379
treeb001a08feeff741963d8232ecb26e5c1a75efb92
parentcc5b2fc988ad46e3756dbbe756dea97e15b32a1d
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