From: Alistair Popple Date: Tue, 29 Oct 2013 23:50:37 +0000 (+1100) Subject: ibm emac: Don't call napi_complete if napi_reschedule failed X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~67^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4dfd326c29c241c2bb8463167217eb2438b7c3d;p=pandora-kernel.git ibm emac: Don't call napi_complete if napi_reschedule failed This patch fixes a bug which would trigger the BUG_ON() at net/core/dev.c:4156. It was found that this was due to continuing processing in the current poll call even when the call to napi_reschedule failed, indicating the device was already on the polling list. This resulted in an extra call to napi_complete which triggered the BUG_ON(). This patch ensures that we only contine processing rotting packets in the current mal_poll call if we are not already on the polling list. Signed-off-by: Alistair Popple Signed-off-by: David S. Miller --- Reading git-diff-tree failed