Re: [PATCH net] soc: fsl: dpio: properly compute the consumer index
From: David Miller
Date: Thu May 07 2020 - 20:35:51 EST
From: Ioana Ciornei <ioana.ciornei@xxxxxxx>
Date: Tue, 5 May 2020 23:14:29 +0300
> Mask the consumer index before using it. Without this, we would be
> writing frame descriptors beyond the ring size supported by the QBMAN
> block.
>
> Fixes: 3b2abda7d28c ("soc: fsl: dpio: Replace QMAN array mode with ring mode enqueue")
> Signed-off-by: Ioana Ciornei <ioana.ciornei@xxxxxxx>
Applied to net-next, thanks.