]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: Fix ECN markings for IPv6
authorVlad Yasevich <vladislav.yasevich@hp.com>
Wed, 4 Jun 2008 19:40:15 +0000 (12:40 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Jun 2008 19:40:15 +0000 (12:40 -0700)
commita717ebc303cfa5447e004b24e2aec05cfa82b163
tree9033b439bfead85c115f9952fc060424788e8759
parent4a089db9335ac648b49814d41a7e91ebb0d5a4bb
sctp: Fix ECN markings for IPv6

Commit b637d4eae9e821e6fd1ba6d145186a5eeb9d9b87 ("[IPV6]: Use
appropriate sock tclass setting for routing lookup.") also changed the
way that ECN capable transports mark this capability in IPv6.  As a
result, SCTP was not marking ECN capablity because the traffic class
was never set.  This patch brings back the markings for IPv6 traffic.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/structs.h
net/sctp/ipv6.c
net/sctp/output.c
net/sctp/protocol.c