aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/icmp.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-02-04 14:37:30 -0800
committerDavid S. Miller <davem@davemloft.net>2011-02-04 14:37:30 -0800
commit0131ba451e20239c5dc701027c1a2edef95e1a6e (patch)
tree880906b7030daf840fc1e903de4381cb70cf473c /net/ipv4/icmp.c
parentbd4a6974cc9090ef3851e5b0a2071e5383565c7c (diff)
downloadkernel_goldelico_gta04-0131ba451e20239c5dc701027c1a2edef95e1a6e.zip
kernel_goldelico_gta04-0131ba451e20239c5dc701027c1a2edef95e1a6e.tar.gz
kernel_goldelico_gta04-0131ba451e20239c5dc701027c1a2edef95e1a6e.tar.bz2
ipv4: Don't miss existing cached metrics in new routes.
Always lookup to see if we have an existing inetpeer entry for a route. Let FLOWI_FLAG_PRECOW_METRICS merely influence the "create" argument to rt_bind_peer(). Also, call rt_bind_peer() unconditionally since it is not possible for rt->peer to be non-NULL at this point. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/icmp.c')
0 files changed, 0 insertions, 0 deletions