ipv4: Don't reset ->flowi4_scope in ip_rt_fix_tos().

JIRA: https://issues.redhat.com/browse/RHEL-59754

RHEL-57748 backported ec20b2830093 ("ipv4: Set scope explicitly in ip_route_output()."), which will set ip_route_output tos to 0. This breaks bonding arp monitoring as later in ip_rt_fix_tos the scope is reset to RT_SCOPE_UNIVERSE since tos is 0. The backported patch 16a28267774c ("ipv4: Don't reset ->flowi4_scope in ip_rt_fix_tos().") fixed this issue as the scope will not set to RT_SCOPE_UNIVERSE.

Signed-off-by: Hangbin Liu haliu@redhat.com

Edited by Hangbin Liu

Merge request reports

Loading