realtek: fix locking bug in rtl838x_hw_receive()
A Locking bug in the packet receive path was introduced with PR
#4973. The following patch prevents the driver from locking
after a few minutes with an endless flow of
[ 1434.185085] rtl838x-eth
1b00a300.ethernet eth0: Ring contention: r: 0, last
a28000f4, cur
a28000f8
[ 1434.208971] rtl838x-eth
1b00a300.ethernet eth0: Ring contention: r: 0, last
a28000f4, cur
a28000fc
[ 1434.794800] rtl838x-eth
1b00a300.ethernet eth0: Ring contention: r: 0, last
a28000f4, cur
a28000fc
[ 1435.049187] rtl838x-eth
1b00a300.ethernet eth0: Ring contention: r: 0, last
a28000f4, cur
a28000fc
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: Birger Koblitz <mail@birger-koblitz.de>