]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
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)
commit4cf83b664fc14f8262d3013566ca36645f891df2
treec60d11959dd582606d3bb2c2b67cdf9cd8846392
parentbeb0babfb77eab0cbcc7f64a7b8f3545fec5c0ba
korina: rework korina_rx() for use with napi

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>
drivers/net/korina.c