Re: [PATCH net-next v5 1/5] seg6: split final End process out of flavor processing

From: Andrea Mayer

Date: Sun Nov 29 2026 - 22:55:57 EST


On Thu, 26 Nov 2026 14:27:23 +0800
Hangbin Liu <hangbin.liu@xxxxxxxxx> wrote:

> From: Hangbin Liu <liuhangbin@xxxxxxxxxx>
>
> Move the final End forwarding step out of end_flv8986_core() and return
> success to the caller instead.
>
> Currently end_flv8986_core() performs both RFC8986 flavor processing and
> final End forwarding by calling input_action_end_finish(). That couples
> flavor handling with the End-specific forwarding path, which makes it
> unable to reuse the same flavor logic for other End variants.
>
> Split the two steps so input_action_end() does:
> 1) end_flv8986_core() for flavor processing
> 2) input_action_end_finish() for final forwarding
>
> This keeps end_flv8986_core() focused on RFC8986/PSP flavor semantics
> and makes it easier to plug the same flavor core into End.X/T later.
>
> Signed-off-by: Hangbin Liu <liuhangbin@xxxxxxxxxx>
> [snip]

Reviewed-by: Andrea Mayer <andrea.mayer@xxxxxxxxxxx>

Thanks,
Andrea