From: Ivan Vecera Date: Thu, 6 Aug 2015 20:48:23 +0000 (+0200) Subject: bna: fix interrupts storm caused by erroneous packets X-Git-Tag: omap-for-v4.3/fixes-merge-window~107^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ade4dc3e616e33c80d7e62855fe1b6f9895bc7c3;p=pandora-kernel.git bna: fix interrupts storm caused by erroneous packets The commit "e29aa33 bna: Enable Multi Buffer RX" moved packets counter increment from the beginning of the NAPI processing loop after the check for erroneous packets so they are never accounted. This counter is used to inform firmware about number of processed completions (packets). As these packets are never acked the firmware fires IRQs for them again and again. Fixes: e29aa33 ("bna: Enable Multi Buffer RX") Signed-off-by: Ivan Vecera Acked-by: Rasesh Mody Signed-off-by: David S. Miller --- Reading git-diff-tree failed