Re: [PATCH net-next 4/5] ipv6: Compute multipath hash for sent ICMP errors from offending packet

From: Hannes Frederic Sowa
Date: Mon Oct 24 2016 - 05:40:48 EST


On 24.10.2016 11:28, Jakub Sitnicki wrote:
> Improve debuggability with tools like traceroute and make PMTUD work in
> setups that make use of ECMP routing by sending ICMP errors down the
> same path as the offending packet would travel, if it was going in the
> opposite direction.
>
> There is a caveat, flows in both directions need use the same
> label. Otherwise packets from flow in the opposite direction and ICMP
> errors will not be routed over the same ECMP link.
>
> Export the function for calculating the multipath hash so that we can
> use it also on receive side, when forwarding ICMP errors.
>
> Signed-off-by: Jakub Sitnicki <jkbs@xxxxxxxxxx>

Acked-by: Hannes Frederic Sowa <hannes@xxxxxxxxxxxxxxxxxxx>