mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
The ->rtm_tos option is normally used to route packets based on both the destination address and the DS field. However it's ignored for IPv6 routes. Setting ->rtm_tos for IPv6 is thus invalid as the route is going to work only on the destination address anyway, so it won't behave as specified. Suggested-by: Toke Høiland-Jørgensen <[email protected]> Signed-off-by: Guillaume Nault <[email protected]> Reviewed-by: David Ahern <[email protected]> Reviewed-by: Shuah Khan <[email protected]> Signed-off-by: David S. Miller <[email protected]>