diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2008-04-13 23:40:51 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-13 23:40:51 -0700 |
commit | e9df2e8fd8fbc95c57dbd1d33dada66c4627b44c (patch) | |
tree | a644a5ffc7ff46cdd781b1fde9cc0a6a47846ce8 /include | |
parent | 7cd636fe9ce5de0051c11283911baca4291868c8 (diff) | |
download | kernel_samsung_crespo-e9df2e8fd8fbc95c57dbd1d33dada66c4627b44c.zip kernel_samsung_crespo-e9df2e8fd8fbc95c57dbd1d33dada66c4627b44c.tar.gz kernel_samsung_crespo-e9df2e8fd8fbc95c57dbd1d33dada66c4627b44c.tar.bz2 |
[IPV6]: Use appropriate sock tclass setting for routing lookup.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/inet_ecn.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/inet_ecn.h b/include/net/inet_ecn.h index ba33db0..7040a78 100644 --- a/include/net/inet_ecn.h +++ b/include/net/inet_ecn.h @@ -47,7 +47,7 @@ static inline __u8 INET_ECN_encapsulate(__u8 outer, __u8 inner) } while (0) #define IP6_ECN_flow_xmit(sk, label) do { \ - if (INET_ECN_is_capable(inet_sk(sk)->tos)) \ + if (INET_ECN_is_capable(inet6_sk(sk)->tclass)) \ (label) |= htonl(INET_ECN_ECT_0 << 20); \ } while (0) |