Re: [PATCH net v3 1/3] ipv4: ignore dst hint for multipath routes
From: Ido Schimmel <hidden>
Date: 2023-08-28 15:15:50
Also in:
linux-kselftest
From: Ido Schimmel <hidden>
Date: 2023-08-28 15:15:50
Also in:
linux-kselftest
On Mon, Aug 28, 2023 at 01:32:19PM +0200, Sriram Yagnaraman wrote:
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 IPSKB_MULTIPATH is introduced for this purpose, set the
flag when route is looked up in ip_mkroute_input() and use it in
ip_extract_route_hint() to check for the existence of the flag.
Fixes: 02b24941619f ("ipv4: use dst hint for ipv4 list receive")
Signed-off-by: Sriram Yagnaraman <redacted>Reviewed-by: Ido Schimmel <idosch@nvidia.com>