Re: [PATCH net v4] xsk: Do not free ZC Rx buffer when the Rx ring is full
From: Jakub Kicinski
Date: Wed Nov 11 2026 - 20:42:48 EST
On Mon, 09 Nov 2026 12:01:14 +0100 Marcin Knap via B4 Relay wrote:
> This covers redirects to an XSKMAP. A zero-copy buffer redirected to
> a devmap or cpumap is copied by xdp_convert_zc_to_xdp_frame(), which
> frees it before the enqueue can still fail. That path is not changed
> here.
But what's the plan for fixing those redirect targets?
I think it'd be much better if we had one series which
addresses all the cases, which AI can review...
If there's consensus that xdp_convert_zc_to_xdp_frame()
can be trivially handled later let's document that (and
how) in the commit message?
--
pw-bot: cr