Hayes Wang 057cc8c900 r8152: fix accessing unset transport header
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.

Fixes: 66e4c8d95008 ("net: warn if transport header was not set")
Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-07-13 14:52:49 +01:00
..
2021-10-02 14:18:25 +01:00
2022-07-01 13:50:25 +01:00
2021-06-17 11:30:25 -07:00
2021-06-01 17:05:05 -07:00
2021-10-02 14:18:25 +01:00
2021-06-01 17:05:05 -07:00
2021-10-22 10:15:56 -07:00
2022-07-06 18:54:56 -07:00