Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

YOSHIFUJI Hideaki and committed by
David S. Miller
e9df2e8f 7cd636fe

+1 -1
+1 -1
include/net/inet_ecn.h
··· 47 47 } while (0) 48 48 49 49 #define IP6_ECN_flow_xmit(sk, label) do { \ 50 - if (INET_ECN_is_capable(inet_sk(sk)->tos)) \ 50 + if (INET_ECN_is_capable(inet6_sk(sk)->tclass)) \ 51 51 (label) |= htonl(INET_ECN_ECT_0 << 20); \ 52 52 } while (0) 53 53