Lennert Buytenhek
2d38caba5f
[PATCH] ep93xx_eth: fix RX/TXstatus ring full handling
...
Ray Lehtiniemi reported that an incoming UDP packet flood can lock up
the ep93xx ethernet driver. Herbert Valerio Riedel noted that due to
the way ep93xx_eth manages the RX/TXstatus rings, it cannot distinguish
a full ring from an empty one, and correctly suggested that this was
likely to be causing this lockup to occur.
Instead of looking at the hardware's RX/TXstatus ring write pointers
to determine when to stop reading from those rings, we should just check
every individual RX/TXstatus descriptor's valid bit instead, since there
is no other way to distinguish an empty ring from a full ring, and if
there is a descriptor waiting, we take the hit of reading the descriptor
from memory anyway.
Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2006-10-31 20:22:05 -05:00
..
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-10-31 20:22:05 -05:00
2006-10-05 07:01:25 -04:00
2006-10-10 16:15:33 -07:00
2006-10-05 15:10:12 +01:00
2006-10-24 14:46:09 -07:00
2006-10-11 03:58:26 -04:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-10-10 16:29:37 -07:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-10-06 14:56:04 -04:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-10-06 14:56:04 -04:00
2006-10-06 14:56:04 -04:00
2006-10-11 04:07:45 -04:00
2006-10-30 15:24:33 -08:00
2006-10-25 21:59:38 -04:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-09-13 14:30:00 -04:00
2006-09-13 13:24:59 -04:00
2006-10-05 15:10:12 +01:00
2006-09-13 13:24:59 -04:00
2006-10-05 15:10:12 +01:00
2006-10-06 14:56:04 -04:00
2006-10-05 15:10:12 +01:00
2006-10-06 14:56:04 -04:00
2006-09-13 13:24:59 -04:00
2006-10-06 14:56:04 -04:00
2006-09-13 13:24:59 -04:00
2006-10-07 10:51:14 -07:00
2006-09-13 13:24:59 -04:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-10-06 14:56:04 -04:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-09-13 13:24:59 -04:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-10-06 14:56:04 -04:00
2006-10-31 20:13:20 +00:00
2006-09-13 13:24:59 -04:00
2006-10-11 03:56:33 -04:00
2006-10-05 15:10:12 +01:00
2006-09-13 13:24:59 -04:00
2006-10-05 15:10:12 +01:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-10-05 15:10:12 +01:00
2006-09-13 13:24:59 -04:00
2006-10-05 15:10:12 +01:00
2006-09-13 13:24:59 -04:00
2006-10-06 14:56:04 -04:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-10-06 14:56:04 -04:00
2006-10-05 15:10:12 +01:00
2006-09-13 13:24:59 -04:00
2006-10-05 15:10:12 +01:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-10-06 14:56:04 -04:00
2006-09-13 13:24:59 -04:00
2006-10-05 15:10:12 +01:00
2006-09-13 13:24:59 -04:00
2006-10-08 12:32:36 -07:00
2006-09-13 13:24:59 -04:00
2006-10-24 14:49:44 -07:00
2006-09-13 13:24:59 -04:00
2006-10-05 15:10:12 +01:00
2006-10-06 15:03:04 -04:00
2006-10-06 14:56:04 -04:00
2006-09-13 13:24:59 -04:00
2006-10-05 15:10:12 +01:00
2006-09-13 13:24:59 -04:00
2006-08-19 17:40:16 -04:00
2006-10-11 11:14:23 -07:00
2006-10-05 15:10:12 +01:00
2006-09-13 13:24:59 -04:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-06-25 17:43:33 -07:00
2006-10-11 03:56:12 -04:00
2006-09-13 14:30:00 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-07-02 13:58:51 -07:00
2006-10-05 15:10:12 +01:00
2006-10-21 14:34:21 -04:00
2006-08-01 16:19:15 +10:00
2006-10-03 08:04:19 -07:00
2006-10-21 14:20:02 -04:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-09-13 13:24:59 -04:00
2006-10-25 16:51:05 +10:00
2006-10-06 14:56:04 -04:00
2006-10-06 20:47:23 -06:00
2006-09-13 13:24:59 -04:00
2006-10-20 00:32:41 -07:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-09-13 13:24:59 -04:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-09-13 13:24:59 -04:00
2006-09-22 20:15:30 -04:00
2006-10-05 15:10:12 +01:00
2006-09-13 13:24:59 -04:00
2006-10-05 15:10:12 +01:00
2006-10-20 10:40:48 -07:00
2006-06-30 18:25:18 +02:00
2006-10-17 19:28:51 -07:00
2006-10-17 19:28:51 -07:00
2006-06-23 23:16:09 -07:00
2006-10-05 15:10:12 +01:00
2006-09-13 13:24:59 -04:00
2006-09-13 14:30:00 -04:00
2006-09-27 08:26:19 -07:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-09-13 13:24:59 -04:00
2006-10-05 15:10:12 +01:00
2006-09-13 13:24:59 -04:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-09-13 13:24:59 -04:00
2006-10-05 15:10:12 +01:00
2006-10-06 14:56:04 -04:00
2006-10-06 14:56:04 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-21 11:46:22 +10:00
2006-09-13 13:24:59 -04:00
2006-09-28 18:01:44 -07:00
2006-10-05 15:10:12 +01:00
2006-09-24 20:07:48 -07:00
2006-10-29 17:31:49 -08:00
2006-09-13 14:30:00 -04:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-09-13 13:24:59 -04:00
2006-10-05 15:10:12 +01:00
2006-10-10 16:15:34 -07:00
2006-10-06 14:56:04 -04:00
2006-09-13 13:24:59 -04:00
2006-10-06 14:56:04 -04:00
2006-10-21 14:20:01 -04:00
2006-10-05 15:10:12 +01:00
2006-09-13 13:24:59 -04:00
2006-10-05 15:10:12 +01:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-09-13 13:24:59 -04:00
2006-10-05 15:10:12 +01:00
2006-09-13 13:24:59 -04:00
2006-10-11 04:06:09 -04:00
2006-10-11 04:06:09 -04:00
2006-10-21 14:08:24 -04:00
2006-10-17 10:24:25 -07:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-10-07 10:51:15 -07:00
2006-10-21 14:08:24 -04:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-10-05 15:10:12 +01:00
2006-10-06 14:56:04 -04:00
2006-10-05 15:10:12 +01:00
2006-10-02 19:46:18 -07:00
2006-10-11 04:04:27 -04:00
2006-10-11 04:04:27 -04:00
2006-10-11 04:04:27 -04:00
2006-10-05 15:10:12 +01:00
2006-09-27 15:41:24 +09:00
2006-10-11 11:17:06 -07:00
2006-09-13 13:24:59 -04:00
2006-10-11 11:17:06 -07:00
2006-10-17 19:28:51 -07:00
2006-06-23 23:16:02 -07:00
2006-10-05 15:10:12 +01:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-10-05 15:10:12 +01:00
2006-09-13 13:24:59 -04:00
2006-10-06 14:56:04 -04:00
2006-06-30 19:25:36 +02:00
2006-10-06 14:56:04 -04:00
2006-10-06 14:56:04 -04:00
2006-10-05 15:10:12 +01:00
2006-10-18 20:56:06 -07:00
2006-09-28 18:01:42 -07:00
2006-10-05 15:10:12 +01:00
2006-09-13 13:24:59 -04:00
2006-10-02 07:57:14 -07:00
2006-09-13 13:24:59 -04:00
2006-10-05 15:10:12 +01:00
2006-09-13 13:24:59 -04:00
2006-10-21 14:09:51 -04:00
2006-10-21 14:09:51 -04:00
2006-10-21 14:09:51 -04:00
2006-10-21 14:09:51 -04:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-10-06 14:56:04 -04:00
2006-10-06 14:56:04 -04:00
2006-07-02 13:58:51 -07:00