Commit ff3fccb3 authored by David S. Miller's avatar David S. Miller
Browse files

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: default avatarDavid S. Miller <>
parent dbdd9a52
......@@ -2047,7 +2047,7 @@ static int ip_mkroute_input(struct sk_buff *skb,
unsigned hash;
if (res->fi && res->fi->fib_nhs > 1 && fl->oif == 0)
if (res->fi && res->fi->fib_nhs > 1)
fib_select_multipath(fl, res);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment