Re: [PATCH net-next] net: qca_spi: Add available buffer space verification

From: David Miller
Date: Thu Nov 08 2018 - 22:41:18 EST


From: Stefan Wahren <stefan.wahren@xxxxxxxx>
Date: Thu, 8 Nov 2018 14:38:21 +0100

> Interferences on the SPI line could distort the response of
> available buffer space. So at least we should check that the
> response doesn't exceed the maximum available buffer space.
> In error case increase a new error counter and retry it later.
> This behavior avoids buffer errors in the QCA7000, which
> results in an unnecessary chip reset including packet loss.
>
> Signed-off-by: Stefan Wahren <stefan.wahren@xxxxxxxx>

Applied.