Commit 7ddfe350 authored by Sriram Yagnaraman's avatar Sriram Yagnaraman Committed by Greg Kroah-Hartman
Browse files

ipv6: ignore dst hint for multipath routes



[ Upstream commit 8423be89 ]

Route hints when the nexthop is part of a multipath group causes packets
in the same receive batch to be sent to the same nexthop irrespective of
the multipath hash of the packet. So, do not extract route hint for
packets whose destination is part of a multipath group.

A new SKB flag IP6SKB_MULTIPATH is introduced for this purpose, set the
flag when route is looked up in fib6_select_path() and use it in
ip6_can_use_hint() to check for the existence of the flag.

Fixes: 197dbf24 ("ipv6: introduce and uses route look hints for list input.")
Signed-off-by: default avatarSriram Yagnaraman <sriram.yagnaraman@est.tech>
Reviewed-by: default avatarIdo Schimmel <idosch@nvidia.com>
Reviewed-by: default avatarDavid Ahern <dsahern@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 0b2ee664
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment