Re: [PATCH net] net: enetc: avoid buffer leaks on xdp_do_redirect() failure

From: Vladimir Oltean
Date: Wed Dec 14 2022 - 07:21:01 EST


On Tue, Dec 13, 2022 at 02:19:08AM +0200, Vladimir Oltean wrote:
> The problem, summarized, is that we zeroize rx_swbd->page before we're
> completely done with it, and this makes it impossible for the error path
> to do something with it.
> ---

I was pretty tired when I wrote this commit message, please let me know
if it rambles too much or it misses the point, I can rewrite it and
shorten it if needed.