linux/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
ael1002.c
aq100x.c
common.h
cxgb3_ctl_defs.h
cxgb3_defs.h
cxgb3_ioctl.h
cxgb3_main.c cxgb3: Fix crash caused by stashing wrong netdev_queue 2009-07-09 17:16:06 -07:00
cxgb3_offload.c
cxgb3_offload.h
firmware_exports.h
l2t.c
l2t.h
Makefile
mc5.c
regs.h
sge_defs.h
sge.c
t3_cpl.h
t3_hw.c
t3cdev.h
version.h
vsc8211.c
xgmac.c