Re: [PATCH AUTOSEL 4.14 4/9] vxlan: generalize vxlan_parse_gpe_hdr and remove unused args

From: Pavel Machek
Date: Tue Aug 22 2023 - 06:45:46 EST


Hi!

> From: Jiri Benc <jbenc@xxxxxxxxxx>
>
> [ Upstream commit 17a0a64448b568442a101de09575f81ffdc45d15 ]
>
> The vxlan_parse_gpe_hdr function extracts the next protocol value from
> the GPE header and marks GPE bits as parsed.
>
> In order to be used in the next patch, split the function into protocol
> extraction and bit marking. The bit marking is meaningful only in
> vxlan_rcv; move it directly there.
>
> Rename the function to vxlan_parse_gpe_proto to reflect what it now
> does. Remove unused arguments skb and vxflags. Move the function earlier
> in the file to allow it to be called from more places in the next
> patch.

This seems to be a cleanup/preparation for a patch we don't have
queued for 4.14. Please drop.

Best regards,
Pavel
--
DENX Software Engineering GmbH, Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

Attachment: signature.asc
Description: PGP signature