Re: [PATCH net 1/2] net: Make PSP skb extension survive packet scrubbing
From: Kiran Kella
Date: Wed Oct 28 2026 - 02:37:49 EST
> +void skb_ext_scrub(struct sk_buff *skb)
> +{
> + unsigned int id;
> +
> + if (likely(!skb->active_extensions))
> + return;
> +
> + for (id = 0; id < SKB_EXT_NUM; id++) {
> +#if IS_ENABLED(CONFIG_INET_PSP)
> + if (id == SKB_EXT_PSP)
> + continue;
> +#endif
> + skb_ext_del(skb, id);
> + }
> +}
Thanks for the fix.
We saw the same issue with skb extension reset when testing with
vxlans associated to a psp device.
> +EXPORT_SYMBOL(skb_ext_scrub);
> #endif /* CONFIG_SKB_EXTENSIONS */
>
> static void kfree_skb_napi_cache(struct sk_buff *skb)
> --
> 2.56.0.257.gf7497c7d27-goog
>
>
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature