
28 Aug
2019
28 Aug
'19
3:42 p.m.
On 28.08.19 08:38, Weijie Gao wrote:
When received a packet with an invalid length recorded in rx descriptor, we should free this rx descriptor to allow us to continue to receive following packets. Without doing so, u-boot will stuck in a dead loop trying to process this invalid rx descriptor.
This patch adds a call to mt7628_eth_free_pkt() after received an invalid packet length.
Signed-off-by: Weijie Gao weijie.gao@mediatek.com
Good catch.
Reviewed-by: Stefan Roese sr@denx.de
Thanks, Stefan