ipv6: use TOS marks from sockets for routing decision
authorHannes Frederic Sowa <hannes@stressinduktion.org>
Sat, 11 Jun 2016 18:08:19 +0000 (20:08 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Jun 2016 22:33:26 +0000 (15:33 -0700)
commit38b7097b55b6cf30adc5ac07cb1055683224393e
tree354f839048b45dcfa415469431fa4640fd6f2652
parente69f73bfecb0178ae6bd20eb778211739cd71fab
ipv6: use TOS marks from sockets for routing decision

In IPv6 the ToS values are part of the flowlabel in flowi6 and get
extracted during fib rule lookup, but we forgot to correctly initialize
the flowlabel before the routing lookup.

Reported-by: <liam.mcbirnie@boeing.com>
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/icmp.c
net/ipv6/ping.c
net/ipv6/raw.c
net/ipv6/route.c
net/ipv6/udp.c
net/l2tp/l2tp_ip6.c