korina: rework korina_rx() for use with napi
authorPhil Sutter <n0-1@freewrt.org>
Thu, 15 Jan 2009 05:48:59 +0000 (21:48 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Jan 2009 16:28:19 +0000 (08:28 -0800)
This function needs an early exit condition to function properly, or
else caller assumes napi workload wasn't enough to handle all received
packets and korina_rx is called again (and again and again and ...).

Signed-off-by: Phil Sutter <n0-1@freewrt.org>
Acked-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found