Skip to content
Commit 057cc8c9 authored by Hayes Wang's avatar Hayes Wang Committed by David S. Miller
Browse files

r8152: fix accessing unset transport header

A warning is triggered by commit 66e4c8d9 ("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: 66e4c8d9

 ("net: warn if transport header was not set")
Signed-off-by: default avatarHayes Wang <hayeswang@realtek.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 67de8acd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment