summaryrefslogtreecommitdiffstats
path: root/include/net/netdma.h
diff options
context:
space:
mode:
authorSteinar H. Gunderson2011-05-07 01:44:46 +0200
committerDavid S. Miller2011-05-13 00:52:14 +0200
commitca06707022d6ba4744198a8ebbe4994786b0c613 (patch)
tree829c4c904b4e3c21c9ae5dd05e5262cc430502c9 /include/net/netdma.h
parentne-h8300: Fix regression caused during net_device_ops conversion (diff)
downloadkernel-qcow2-linux-ca06707022d6ba4744198a8ebbe4994786b0c613.tar.gz
kernel-qcow2-linux-ca06707022d6ba4744198a8ebbe4994786b0c613.tar.xz
kernel-qcow2-linux-ca06707022d6ba4744198a8ebbe4994786b0c613.zip
ipv6: restore correct ECN handling on TCP xmit
Since commit e9df2e8fd8fbc9 (Use appropriate sock tclass setting for routing lookup) we lost ability to properly add ECN codemarks to ipv6 TCP frames. It seems like TCP_ECN_send() calls INET_ECN_xmit(), which only sets the ECN bit in the IPv4 ToS field (inet_sk(sk)->tos), but after the patch, what's checked is inet6_sk(sk)->tclass, which is a completely different field. Close bug https://bugzilla.kernel.org/show_bug.cgi?id=34322 [Eric Dumazet] : added the INET_ECN_dontxmit() fix and replace macros by inline functions for clarity. Signed-off-by: Steinar H. Gunderson <sgunderson@bigfoot.com> Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Cc: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Cc: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netdma.h')
0 files changed, 0 insertions, 0 deletions