Julien Ducourthial
477206a018
r8169: fix unsigned int wraparound with TSO
...
The r8169 may get stuck or show bad behaviour after activating TSO :
the net_device is not stopped when it has no more TX descriptors.
This problem comes from TX_BUFS_AVAIL which may reach -1 when all
transmit descriptors are in use. The patch simply tries to keep positive
values.
Tested with 8111d(onboard) on a D510MO, and with 8111e(onboard) on a
Zotac 890GXITX.
Signed-off-by: Julien Ducourthial <jducourt@free.fr>
Acked-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-05-08 19:34:10 -04:00
..
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2012-02-06 11:41:20 -05:00
2012-02-19 19:03:04 -05:00
2012-02-23 17:03:20 -05:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2012-02-08 18:46:38 -05:00
2012-04-13 13:34:20 -04:00
2012-05-06 13:10:38 -04:00
2012-03-21 13:36:41 -07:00
2012-02-15 15:34:16 -05:00
2012-02-15 15:34:17 -05:00
2012-04-30 22:08:44 -04:00
2012-03-28 15:58:21 -07:00
2012-03-08 00:28:19 -08:00
2012-02-15 15:34:16 -05:00
2012-02-24 15:40:59 -05:00
2012-04-26 05:36:39 -04:00
2012-03-19 16:52:17 -04:00
2012-02-15 15:34:16 -05:00
2012-05-02 20:09:04 -04:00
2012-03-28 18:30:03 +01:00
2012-02-06 11:52:27 -05:00
2012-03-28 18:30:03 +01:00
2012-04-26 05:07:45 -04:00
2012-02-06 11:52:27 -05:00
2012-05-04 04:00:00 -07:00
2012-05-01 13:39:13 -04:00
2012-04-04 20:34:29 -04:00
2012-04-21 15:55:31 -04:00
2012-02-15 15:34:17 -05:00
2012-01-31 16:20:48 -05:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2012-02-08 18:46:38 -05:00
2012-03-28 18:30:03 +01:00
2012-04-01 16:47:12 -04:00
2012-02-13 16:04:09 -05:00
2012-03-09 13:55:38 -08:00
2012-03-05 21:16:26 -05:00
2012-02-23 17:03:20 -05:00
2012-03-23 14:51:31 -04:00
2012-02-08 18:46:38 -05:00
2012-02-15 15:34:16 -05:00
2012-05-08 19:34:10 -04:00
2012-04-01 23:22:11 -04:00
2012-03-28 18:30:03 +01:00
2012-03-30 17:31:56 -07:00
2011-12-27 13:17:34 -05:00
2012-02-15 15:34:16 -05:00
2012-04-21 16:41:11 -04:00
2012-04-04 18:38:31 -04:00
2012-05-03 01:42:55 -04:00
2012-02-08 18:46:38 -05:00
2012-04-25 14:24:33 -04:00
2012-04-02 13:17:37 -04:00
2012-02-15 15:34:16 -05:00
2012-03-28 18:30:03 +01:00
2012-04-01 23:09:36 -04:00
2012-04-13 13:58:42 -04:00
2012-03-28 18:30:03 +01:00
2012-02-24 15:41:00 -05:00
2012-02-15 15:34:16 -05:00
2012-02-17 15:58:06 -05:00
2012-02-06 11:48:09 -05:00
2012-02-26 21:55:51 -05:00
2012-02-22 14:44:41 -05:00
2012-03-12 17:08:34 -07:00
2012-03-28 18:30:03 +01:00
2012-02-19 19:02:42 -05:00
2012-03-12 17:08:34 -07:00
2012-02-15 15:34:16 -05:00
2012-02-08 18:46:38 -05:00
2012-02-08 18:46:38 -05:00