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:52:23 +0000 (14:52 -0700)
commite19c985650c94578655f47cb6d856767c23b3433
tree4786f723d47329a55f61b947cfc76ab5eb0c46a0
parent6598554879509476a47929be742b858b3a42372a
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