diff options
author | David S. Miller <davem@davemloft.net> | 2011-05-04 21:46:24 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-05-04 21:55:07 +0200 |
commit | 301102cc832f9f3e24c5748705f152eaa7c307f6 (patch) | |
tree | 40210f414aae480b41c15bae216c4ac2b97707ec /net/ipv6/sit.c | |
parent | ipv4: Kill rt->rt_{src, dst} usage in IP GRE tunnels. (diff) | |
download | linux-301102cc832f9f3e24c5748705f152eaa7c307f6.tar.xz linux-301102cc832f9f3e24c5748705f152eaa7c307f6.zip |
ipv6: Use flowi4->{daddr,saddr} in ipip6_tunnel_xmit().
Instead of rt->rt_{dst,src}
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/sit.c')
-rw-r--r-- | net/ipv6/sit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/sit.c b/net/ipv6/sit.c index a24fb14d91f3..c53abcf50d29 100644 --- a/net/ipv6/sit.c +++ b/net/ipv6/sit.c @@ -828,8 +828,8 @@ static netdev_tx_t ipip6_tunnel_xmit(struct sk_buff *skb, iph->frag_off = df; iph->protocol = IPPROTO_IPV6; iph->tos = INET_ECN_encapsulate(tos, ipv6_get_dsfield(iph6)); - iph->daddr = rt->rt_dst; - iph->saddr = rt->rt_src; + iph->daddr = fl4.daddr; + iph->saddr = fl4.saddr; if ((iph->ttl = tiph->ttl) == 0) iph->ttl = iph6->hop_limit; |