diff options
author | David S. Miller <davem@davemloft.net> | 2011-03-10 16:23:24 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-10 17:01:01 -0800 |
commit | ff3fccb3d05756ec9fb44350b059d31a5e8e0fdc (patch) | |
tree | a1b7f7d24e90ebc0f057843df9bd65bbd435a880 /net/ipv4/route.c | |
parent | dbdd9a52e38a4a93adfa4d0278801cce4fad98eb (diff) | |
download | linux-stable-ff3fccb3d05756ec9fb44350b059d31a5e8e0fdc.tar.gz linux-stable-ff3fccb3d05756ec9fb44350b059d31a5e8e0fdc.tar.bz2 linux-stable-ff3fccb3d05756ec9fb44350b059d31a5e8e0fdc.zip |
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 <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/route.c')
-rw-r--r-- | net/ipv4/route.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c index f6730d94e307..a7ac90cb151d 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 |