linux/drivers/net/ethernet/ibm
Alistair Popple b4dfd326c2 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 <alistair@popple.id.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-10-29 22:57:42 -04:00
..
ehea drivers/net/ethernet/ibm/ehea/ehea_main.c: add alias entry for portN properties 2013-09-16 21:29:10 -04:00
emac ibm emac: Don't call napi_complete if napi_reschedule failed 2013-10-29 22:57:42 -04:00
ibmveth.c ibmveth: Fix little endian issues 2013-09-04 00:27:27 -04:00
ibmveth.h ibmveth: Fix little endian issues 2013-09-04 00:27:27 -04:00
Kconfig ibm-ethernet: delete stale MCA and duplicate PSERIES dependency 2013-06-03 00:24:31 -07:00
Makefile net: powerpc: remove the legacy iSeries ethernet driver 2012-03-09 23:41:26 -05:00