The SKB_SGO_CB_OFFSET should be SKB_GSO_CB_OFFSET which means the offset of the GSO in skb cb. This patch fixes the typo.
Showing the changes to include/linux (1 of 6 files). Show all
Unified · Split
| @@ -4389,8 +4389,8 @@ struct skb_gso_cb { · 4388 unmodified lines | ||
| 4389 | 4389 | __wsum csum; |
| 4390 | 4390 | __u16 csum_start; |
| 4391 | 4391 | }; |
| 4392 | −#define SKB_SGO_CB_OFFSET 32 | |
| 4393 | −#define SKB_GSO_CB(skb) ((struct skb_gso_cb *)((skb)->cb + SKB_SGO_CB_OFFSET)) | |
| 4392 | +#define SKB_GSO_CB_OFFSET 32 | |
| 4393 | +#define SKB_GSO_CB(skb) ((struct skb_gso_cb *)((skb)->cb + SKB_GSO_CB_OFFSET)) | |
| 4394 | 4394 | |
| 4395 | 4395 | static inline int skb_tnl_header_len(const struct sk_buff *inner_skb) |
| 4396 | 4396 | { |