Re: [PATCH net] net: enetc: zeroize buffer descriptors in enetc_dma_alloc_bdr()

From: Vladimir Oltean
Date: Tue Oct 25 2022 - 19:32:03 EST


On Mon, Oct 24, 2022 at 08:20:49PM +0300, Vladimir Oltean wrote:
> Under memory pressure, enetc_refill_rx_ring() may fail, and when called
> during the enetc_open() -> enetc_setup_rxbdr() procedure, this is not
> checked for.

Please don't apply this yet, I'm still investigating a crash which has
the symptoms described here, and I'm not sure why the patch didn't fix it.