commit | 4cf83b664fc14f8262d3013566ca36645f891df2 | [log] [tgz] |
---|---|---|
author | Phil Sutter <n0-1@freewrt.org> | Wed Jan 14 21:48:59 2009 -0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Jan 15 08:28:19 2009 -0800 |
tree | c60d11959dd582606d3bb2c2b67cdf9cd8846392 | |
parent | beb0babfb77eab0cbcc7f64a7b8f3545fec5c0ba [diff] |
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>