ipvs: Maintain all DSCP and ECN bits for ipv6 tun forwarding
authorAlex Gartrell <agartrell@fb.com>
Wed, 16 Jul 2014 22:57:34 +0000 (15:57 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 5 Oct 2014 21:54:14 +0000 (14:54 -0700)
commit787fcb84098e4f9fdea75d777f010229c393690d
tree8dc00102247b08bdf4444072e708d95ec218ddde
parenta5114ef14123a6da5a62d389ed3dacbfc3a94541
ipvs: Maintain all DSCP and ECN bits for ipv6 tun forwarding

commit 76f084bc10004b3050b2cff9cfac29148f1f6088 upstream.

Previously, only the four high bits of the tclass were maintained in the
ipv6 case.  This matches the behavior of ipv4, though whether or not we
should reflect ECN bits may be up for debate.

Signed-off-by: Alex Gartrell <agartrell@fb.com>
Acked-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/netfilter/ipvs/ip_vs_xmit.c