From: David S. Miller Date: Fri, 4 Feb 2011 22:37:30 +0000 (-0800) Subject: ipv4: Don't miss existing cached metrics in new routes. X-Git-Tag: v2.6.39-rc1~468^2~414 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0131ba451e20239c5dc701027c1a2edef95e1a6e;p=pandora-kernel.git 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 --- Reading git-diff-tree failed