diff options
author | Tony Lindgren <tony@atomide.com> | 2011-09-15 16:06:11 -0700 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-09-15 16:06:11 -0700 |
commit | ceb1c532ba6220900e61ec7073a9234661efa450 (patch) | |
tree | b7c5b94f09a6893625bb12b7795de3d44fece450 /net/ipv6/sit.c | |
parent | 8f5b5a41ebc750ffcc2c410371b2b4998955709e (diff) | |
parent | 00c46b3069c1ee9aa31db3057e9224685af52efa (diff) | |
download | linux-rt-ceb1c532ba6220900e61ec7073a9234661efa450.tar.gz |
Merge branch 'omap_chip_remove_cleanup_3.2' of git://git.pwsan.com/linux-2.6 into cleanup
Diffstat (limited to 'net/ipv6/sit.c')
-rw-r--r-- | net/ipv6/sit.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/ipv6/sit.c b/net/ipv6/sit.c index 07bf1085458f..00b15ac7a702 100644 --- a/net/ipv6/sit.c +++ b/net/ipv6/sit.c @@ -672,6 +672,9 @@ static netdev_tx_t ipip6_tunnel_xmit(struct sk_buff *skb, if (skb->protocol != htons(ETH_P_IPV6)) goto tx_error; + if (tos == 1) + tos = ipv6_get_dsfield(iph6); + /* ISATAP (RFC4214) - must come before 6to4 */ if (dev->priv_flags & IFF_ISATAP) { struct neighbour *neigh = NULL; |