Re: [PATCH v5 net-next 2/3] ipv6: refactor ip6_finish_output for GSO handling

From: Eric Dumazet
Date: Tue Oct 24 2023 - 11:08:39 EST


On Tue, Oct 24, 2023 at 4:26 PM Yan Zhai <yan@xxxxxxxxxxxxxx> wrote:
>
> Separate GSO and non-GSO packets handling to make the logic cleaner. For
> GSO packets, frag_max_size check can be omitted because it is only
> useful for packets defragmented by netfilter hooks. Both local output
> and GRO logic won't produce GSO packets when defragment is needed. This
> also mirrors what IPv4 side code is doing.
>
> Suggested-by: Florian Westphal <fw@xxxxxxxxx>
> Signed-off-by: Yan Zhai <yan@xxxxxxxxxxxxxx>
> Reviewed-by: Willem de Bruijn <willemb@xxxxxxxxxx>

Reviewed-by: Eric Dumazet <edumazet@xxxxxxxxxx>