Re: [PATCH net v3 1/1] net: gso: limit recursive IP-in-IP segmentation

From: Wang Zhan

Date: Mon Sep 21 2026 - 00:29:46 EST


On Sat, 19 Sep 2026 11:14:40 +0000 Zihan Xi wrote:
> @@ -19,10 +19,39 @@ struct skb_gso_cb {
> int encap_level;
> __wsum csum;
> __u16 csum_start;
> + /* Bytes charged to the current GSO callback chain. */
> + u16 gso_header_len;
> };

Hi, I think skb_gso_cb->mac_offset already has enough information to tell
whether the budget is exceeded, so adding a field for it is unnecessary.