diff options
author | David S. Miller <davem@davemloft.net> | 2010-05-03 23:21:27 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-05-03 23:21:27 -0700 |
commit | 1827d2e943eeb5cba0662f3e6edc342d6bd65ae6 (patch) | |
tree | e8e22b3eee8ae229ee323b14675beab1f5c7400a /net | |
parent | d05070091849015f8c5b7d55cd75b86ebb61b3ec (diff) | |
download | op-kernel-dev-1827d2e943eeb5cba0662f3e6edc342d6bd65ae6.zip op-kernel-dev-1827d2e943eeb5cba0662f3e6edc342d6bd65ae6.tar.gz |
net: ep93xx_eth stops receiving packets
Receiving small packet(s) in a fast pace leads to not receiving any
packets at all after some time.
After ethernet packet(s) arrived the receive descriptor is incremented
by the number of frames processed. If another packet arrives while
processing, this is processed in another call of ep93xx_rx. This
second call leads that too many receive descriptors getting released.
This fix increments, even in these case, the right number of processed
receive descriptors.
Signed-off-by: Stefan Agner <stefan@agner.ch>
Acked-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions