kernel-fxtec-pro1x/drivers/net/cxgb3
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
..
adapter.h cxgb3: remove __GFP_NOFAIL usage 2009-06-11 02:47:13 -07:00
ael1002.c cxgb3: Add Aeluros 2020 phy support 2009-05-29 15:55:04 -07:00
aq100x.c cxgb3: minor aq100x phy fixes 2009-06-03 21:01:50 -07:00
common.h cxgb3: add support for the Aquantia 10G-BT phy 2009-05-29 15:55:05 -07:00
cxgb3_ctl_defs.h cxgb3: add control to access embedded images 2008-12-26 01:16:39 -08:00
cxgb3_defs.h cxgb3: extend copyrights to 2008 2008-10-13 18:47:30 -07:00
cxgb3_ioctl.h cxgb3: extend copyrights to 2008 2008-10-13 18:47:30 -07:00
cxgb3_main.c cxgb3: Fix crash caused by stashing wrong netdev_queue 2009-07-09 17:16:06 -07:00
cxgb3_offload.c cxgb3: remove __GFP_NOFAIL usage 2009-06-11 02:47:13 -07:00
cxgb3_offload.h cxgb3: remove __GFP_NOFAIL usage 2009-06-11 02:47:13 -07:00
firmware_exports.h cxgb3: extend copyrights to 2008 2008-10-13 18:47:30 -07:00
l2t.c cxgb3: Fix kernel crash caused by uninitialized l2t_entry.arpq 2008-10-22 06:22:14 -04:00
l2t.h cxgb3: extend copyrights to 2008 2008-10-13 18:47:30 -07:00
Makefile cxgb3: add support for the Aquantia 10G-BT phy 2009-05-29 15:55:05 -07:00
mc5.c cxgb3: extend copyrights to 2008 2008-10-13 18:47:30 -07:00
regs.h cxgb3: detect mac link faults. 2009-03-13 11:30:47 -07:00
sge.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-06-03 02:43:41 -07:00
sge_defs.h cxgb3 - Set the CQ_ERR bit in CQ contexts. 2007-10-10 16:51:05 -07:00
t3_cpl.h cxgb3: extend copyrights to 2008 2008-10-13 18:47:30 -07:00
t3_hw.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-06-03 02:43:41 -07:00
t3cdev.h cxgb3: extend copyrights to 2008 2008-10-13 18:47:30 -07:00
version.h cxgb3: Update FW to 7.4.0 2009-06-03 21:01:50 -07:00
vsc8211.c cxgb3: Use generic MDIO definitions and mdio_mii_ioctl() 2009-04-29 17:32:32 -07:00
xgmac.c cxgb3: detect mac link faults. 2009-03-13 11:30:47 -07:00