Re: [PATCH net v2 1/1] net: macb: fix the RX queue reset in macb_rx()

2016-11-29 Thread David Miller
From: Cyrille Pitchen Date: Mon, 28 Nov 2016 14:40:55 +0100 > On macb only (not gem), when a RX queue corruption was detected from > macb_rx(), the RX queue was reset: during this process the RX ring > buffer descriptor was initialized by macb_init_rx_ring() but we forgot > to also set bp->rx_tai

[PATCH net v2 1/1] net: macb: fix the RX queue reset in macb_rx()

2016-11-28 Thread Cyrille Pitchen
On macb only (not gem), when a RX queue corruption was detected from macb_rx(), the RX queue was reset: during this process the RX ring buffer descriptor was initialized by macb_init_rx_ring() but we forgot to also set bp->rx_tail to 0. Indeed, when processing the received frames, bp->rx_tail prov