Re: [net-next 1/3] seg6: factor out End lookup nexthop processing to a dedicated function

From: David Ahern
Date: Thu Feb 16 2023 - 01:06:24 EST


On 2/15/23 6:46 AM, Andrea Mayer wrote:
> The End nexthop lookup/input operations are moved into a new helper
> function named input_action_end_finish(). This avoids duplicating the
> code needed to compute the nexthop in the different flavors of the End
> behavior.
>
> Signed-off-by: Andrea Mayer <andrea.mayer@xxxxxxxxxxx>
> ---
> net/ipv6/seg6_local.c | 16 ++++++++++------
> 1 file changed, 10 insertions(+), 6 deletions(-)
>

Reviewed-by: David Ahern <dsahern@xxxxxxxxxx>