Re: [PATCH net] r8152: fix accessing unset transport header

From: Paolo Abeni
Date: Tue Jul 12 2022 - 09:06:39 EST


On Mon, 2022-07-11 at 15:00 +0800, Hayes Wang wrote:
> A warning is triggered by commit 66e4c8d95008 ("net: warn if transport
> header was not set"). The warning is harmless, because the value from
> skb_transport_offset() is only used for skb_is_gso() is true or the
> skb->ip_summed is equal to CHECKSUM_PARTIAL.
>
> Signed-off-by: Hayes Wang <hayeswang@xxxxxxxxxxx>

If this is targeting the -net tree please add a suitable Fixes tag,
thanks!

Paolo