X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=net%2Fipv4%2Froute.c;h=62d4d90c1389c4ea7da37c81779b2f55207d2a92;hb=6104e112f4a613506ba1ea9d4b974279f888006b;hp=f2be689a6c85b6fd7619d3449db69756aa2e9aba;hpb=3c293f4e08b58ad5b78f78d89ca1fd41f87f8729;p=linux-2.6-block.git diff --git a/net/ipv4/route.c b/net/ipv4/route.c index f2be689a6c85..62d4d90c1389 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c @@ -2265,7 +2265,8 @@ struct rtable *__ip_route_output_key_hash(struct net *net, struct flowi4 *fl4, if (err) { res.fi = NULL; res.table = NULL; - if (fl4->flowi4_oif) { + if (fl4->flowi4_oif && + !netif_index_is_l3_master(net, fl4->flowi4_oif)) { /* Apparently, routing tables are wrong. Assume, that the destination is on link.