diff --git a/net/ipv4/route.c b/net/ipv4/route.c index b88836e6b4a1e26e5c00b4d2650f7a7e9814a1fc..6810d2076b1baed40a466518347bf559f720a0fc 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c @@ -2236,7 +2236,7 @@ static struct rtable *__mkroute_output(const struct fib_result *res, if (!rth) return ERR_PTR(-ENOBUFS); - rth->rt_iif = orig_oif ? : 0; + rth->rt_iif = orig_oif; if (res->table) rth->rt_table_id = res->table->tb_id;