]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit348de45eaae956e87df5c62deb4290974e71fbb8
tree354f839048b45dcfa415469431fa4640fd6f2652
parent1c9c8475493b134f79bc26d415706942878bf139
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