Skip to content
Commit 9a3de255 authored by Jarek Poplawski's avatar Jarek Poplawski Committed by David S. Miller
Browse files

drivers/net: starfire: Fix napi ->poll() weight handling



starfire napi ->poll() handler can return work == weight after calling
netif_rx_complete() (if there is no more work). It is illegal and this
patch fixes it.

Reported-by: default avatarAlexander Huemer <alexander.huemer@sbg.ac.at>
Tested-by: default avatarAlexander Huemer <alexander.huemer@sbg.ac.at>
Signed-off-by: default avatarJarek Poplawski <jarkao2@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent bb5f133d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment