ipv4: Adjust semantics of rt->rt_gateway.
[deliverable/linux.git] / net / ipv4 / ipip.c
index 2c2c35bace76482838d6301d74f24a9800ec3c51..99af1f0cc65827c3faa40407c17b38527ac8a211 100644 (file)
@@ -487,7 +487,7 @@ static netdev_tx_t ipip_tunnel_xmit(struct sk_buff *skb, struct net_device *dev)
                        dev->stats.tx_fifo_errors++;
                        goto tx_error;
                }
-               dst = rt->rt_gateway;
+               dst = rt_nexthop(rt, old_iph->daddr);
        }
 
        rt = ip_route_output_ports(dev_net(dev), &fl4, NULL,
This page took 0.025511 seconds and 5 git commands to generate.