From: David S. Miller Date: Fri, 11 Mar 2011 00:23:24 +0000 (-0800) Subject: ipv4: Remove unnecessary test from ip_mkroute_input() X-Git-Tag: v3.0~1578^2~101 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ff3fccb3d05756ec9fb44350b059d31a5e8e0fdc;p=platform%2Fkernel%2Flinux-amlogic.git ipv4: Remove unnecessary test from ip_mkroute_input() fl->oif will always be zero on the input path, so there is no reason to test for that. Signed-off-by: David S. Miller --- diff --git a/net/ipv4/route.c b/net/ipv4/route.c index f6730d9..a7ac90c 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c @@ -2047,7 +2047,7 @@ static int ip_mkroute_input(struct sk_buff *skb, unsigned hash; #ifdef CONFIG_IP_ROUTE_MULTIPATH - if (res->fi && res->fi->fib_nhs > 1 && fl->oif == 0) + if (res->fi && res->fi->fib_nhs > 1) fib_select_multipath(fl, res); #endif