1
0
Files
linux/drivers/net
Roland Dreier e594e96e8a cxgb3: Fix crash caused by stashing wrong netdev_queue
Commit c3a8c5b6 ("cxgb3: move away from LLTX") exposed a bug in how
cxgb3 looks up the netdev_queue it stashes away in a qset during
initialization.  For multiport devices, the TX queue index it uses is
offset by the first_qset index of each port.  This leads to a crash
once LLTX is removed, since hard_start_xmit is called with one TX
queue lock held, while the TX reclaim timer task grabs a different
(wrong) TX queue lock when it frees skbs.

Fix this by removing the first_qset offset used to look up the TX
queue passed into t3_sge_alloc_qset() from setup_sge_qsets().

Signed-off-by: Roland Dreier <rolandd@cisco.com>
Acked-by: Divy Le Ray <divy@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-07-09 17:16:06 -07:00
..
2009-06-11 17:23:24 -07:00
2009-06-13 23:29:04 -07:00
2009-04-13 15:16:33 -07:00
2009-04-28 02:05:21 -07:00
2009-06-08 00:21:48 -07:00
2009-07-05 18:03:27 -07:00
2009-07-03 19:10:51 -07:00
2009-06-30 19:46:48 -07:00
2009-07-08 15:24:30 -04:00
2009-05-26 20:35:02 -07:00
2009-05-26 20:35:02 -07:00
2009-05-26 20:35:02 -07:00
2009-05-26 20:35:03 -07:00
2009-04-24 04:45:33 -07:00
2009-05-17 11:59:51 -07:00
2009-05-29 01:46:27 -07:00
2009-04-11 02:53:46 -07:00
2009-04-16 02:20:06 -07:00
2009-04-04 16:51:14 -07:00
2009-06-21 11:00:33 -05:00
2009-05-29 01:46:27 -07:00
2009-07-05 18:03:33 -07:00
2009-04-16 02:20:08 -07:00
2009-05-17 15:19:36 -07:00
2009-06-11 17:23:24 -07:00
2009-05-29 01:46:27 -07:00
2009-05-29 01:51:22 -07:00
2009-06-08 00:20:20 -07:00
2009-03-27 00:46:48 -07:00
2009-04-16 02:20:15 -07:00
2009-04-16 02:20:16 -07:00
2009-04-13 15:16:26 -07:00
2009-06-25 20:06:34 -07:00
2009-04-16 02:20:18 -07:00
2009-04-16 02:20:21 -07:00
2009-04-16 02:20:22 -07:00
2009-03-27 00:46:53 -07:00
2009-03-28 23:37:27 -07:00
2009-06-18 00:29:08 -07:00
2009-06-22 11:32:24 -07:00
2009-06-22 11:32:24 -07:00
2009-06-03 02:51:04 -07:00
2009-06-19 01:12:52 -07:00
2009-04-16 02:20:24 -07:00
2009-04-29 17:32:34 -07:00
2009-04-16 02:20:25 -07:00
2009-05-25 22:49:56 -07:00
2009-05-29 01:46:27 -07:00
2009-06-26 09:28:42 -07:00
2009-06-17 18:46:54 -07:00
2009-04-16 02:20:25 -07:00
2009-03-27 00:46:48 -07:00
2009-06-08 00:21:48 -07:00
2009-04-13 15:16:21 -07:00
2009-05-29 01:46:27 -07:00