--- ./net/ipv4/route.c.ipr 2005-12-08 12:33:07.000000000 +0300 +++ ./net/ipv4/route.c 2005-12-08 20:05:15.964911728 +0300 @@ -2145,6 +2145,12 @@ static int ip_route_output_slow(struct r Luckily, this hack is good workaround. */ + if (dev_out == NULL) { + dev_out = ip_dev_find(oldflp->fl4_src); + if (dev_out == NULL) + goto out; + } + fl.oif = dev_out->ifindex; goto make_route; }