[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>
This commit is contained in:
parent
7cd636fe9c
commit
e9df2e8fd8
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue