qoriq eth.c bugfix: handle received corrupted frames correctly
authorDaniel Inderbitzin <daniel.inderbitzin@crypto.ch>
Fri, 10 Jul 2015 12:06:02 +0000 (14:06 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:17:42 +0000 (08:17 +0200)
commit1374ca38285b7b6b34724706504e289e839f1201
tree17d1c111bcd74711ef8401b06539be5508a272e2
parentb932a466c67afe9799081b3d0aec62fe4dc1a04c
qoriq eth.c bugfix: handle received corrupted frames correctly

The rxbd is not correctly handled in case of a frame physical error
(FPE) or frame size error (FSE). The rxbd must be cleared and
advanced in case of an error to avoid receive stall.

Signed-off-by: Daniel Inderbitzin <daniel.inderbitzin@gmail.com>
drivers/net/fm/eth.c