aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorWeijie Gao <weijie.gao@mediatek.com>2019-09-25 17:45:34 +0800
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2019-10-25 17:20:44 +0200
commitc88ee3ea0a77c0547ce5297e4c2e7378a5cb29ae (patch)
treea0bc174bf04cdc04926cfdbb78a1811a865e5a9f /arch
parentf079321009841bbb7c3a357febc08441c579f3f2 (diff)
downloadu-boot-c88ee3ea0a77c0547ce5297e4c2e7378a5cb29ae.zip
u-boot-c88ee3ea0a77c0547ce5297e4c2e7378a5cb29ae.tar.gz
u-boot-c88ee3ea0a77c0547ce5297e4c2e7378a5cb29ae.tar.bz2
net: mt7628-eth: free rx descriptor on receiving failure
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. Reviewed-by: Stefan Roese <sr@denx.de> Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions