Skip to content
Commit 95caf6f7 authored by Daniel Borkmann's avatar Daniel Borkmann Committed by David S. Miller
Browse files

geneve: fix populating tclass in geneve_get_v6_dst



The struct flowi6's flowi6_tos is not used in IPv6 route lookup, the
traffic class information is handled in the flowi6's flowlabel member
instead. For example, for policy routing, fib6_rule_match() uses
ip6_tclass() that is applied on the flowlabel for matching on tclass,
which would currently not work as expected.

Fixes: 3a56f86f ("geneve: handle ipv6 priority like ipv4 tos")
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent eaa93bf4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment