summaryrefslogtreecommitdiff
path: root/net/ipv4/route.c
diff options
context:
space:
mode:
authorTrilok Soni <tsoni@codeaurora.org>2016-08-25 19:05:37 -0700
committerTrilok Soni <tsoni@codeaurora.org>2016-08-26 14:34:05 -0700
commit5ab1e18aa3913d454e1bd1498b20ee581aae2c6b (patch)
tree42bd10ef0bf5cdb8deb05656bf802c77dc580ff7 /net/ipv4/route.c
parente97b6a0e0217f7c072fdad6c50673cd7a64348e1 (diff)
Revert "Merge remote-tracking branch 'msm-4.4/tmp-510d0a3f' into msm-4.4"
This reverts commit 9d6fd2c3e9fcfb ("Merge remote-tracking branch 'msm-4.4/tmp-510d0a3f' into msm-4.4"), because it breaks the dump parsing tools due to kernel can be loaded anywhere in the memory now and not fixed at linear mapping. Change-Id: Id416f0a249d803442847d09ac47781147b0d0ee6 Signed-off-by: Trilok Soni <tsoni@codeaurora.org>
Diffstat (limited to 'net/ipv4/route.c')
-rw-r--r--net/ipv4/route.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c
index fb54659320d8..79a957ea6545 100644
--- a/net/ipv4/route.c
+++ b/net/ipv4/route.c
@@ -2047,18 +2047,6 @@ static struct rtable *__mkroute_output(const struct fib_result *res,
*/
if (fi && res->prefixlen < 4)
fi = NULL;
- } else if ((type == RTN_LOCAL) && (orig_oif != 0) &&
- (orig_oif != dev_out->ifindex)) {
- /* For local routes that require a particular output interface
- * we do not want to cache the result. Caching the result
- * causes incorrect behaviour when there are multiple source
- * addresses on the interface, the end result being that if the
- * intended recipient is waiting on that interface for the
- * packet he won't receive it because it will be delivered on
- * the loopback interface and the IP_PKTINFO ipi_ifindex will
- * be set to the loopback interface as well.
- */
- fi = NULL;
}
fnhe = NULL;