linux-stable/drivers/net/ethernet/realtek
Gao Feng b628d611a2 8139cp: Fix one possible deadloop in cp_rx_poll
When cp_rx_poll does not get enough packet, it will check the rx
interrupt status again. If so, it will jumpt to rx_status_loop again.
But the goto jump resets the rx variable as zero too.

As a result, it causes one possible deadloop. Assume this case,
rx_status_loop only gets the packet count which is less than budget,
and (cpr16(IntrStatus) & cp_rx_intr_mask) condition is always true.
It causes the deadloop happens and system is blocked.

Signed-off-by: Gao Feng <fgao@ikuai8.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-08-25 17:02:48 -07:00
..
8139cp.c 8139cp: Fix one possible deadloop in cp_rx_poll 2016-08-25 17:02:48 -07:00
8139too.c 8139too: fix system hang when there is a tx timeout event. 2016-08-01 21:38:53 -07:00
atp.c treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
atp.h net: ethernet: realtek: atp: checkpatch errors and warnings corrected 2014-10-29 14:52:06 -04:00
Kconfig drivers/net: remove all references to obsolete Ethernet-HOWTO 2015-06-23 06:50:35 -07:00
Makefile
r8169.c r8169: fix nic may not work after changing mac address. 2016-07-31 20:34:05 -07:00