WSL2-Linux-Kernel/drivers/net/cxgb3
Roland Dreier 6d329af996 cxgb3: Fix kernel crash caused by uninitialized l2t_entry.arpq
Commit 147e70e6 ("cxgb3: Use SKB list interfaces instead of home-grown
implementation.") causes a crash in t3_l2t_send_slow() when an iWARP
connection request is received.  This is because the new l2t_entry.arpq
skb queue is never initialized, and therefore trying to add an skb to
it causes a NULL dereference.  With the old code there was no need to
initialize the queues because the l2t_entry structures were zeroed,
and the code used NULL to mean empty.

Fix this by adding __skb_queue_head_init() when all the l2t_entry
structures get allocated.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2008-10-22 06:22:14 -04:00
..
Makefile Add support for the latest 1G/10G Chelsio adapter, T3. 2007-02-05 16:58:46 -05:00
adapter.h cxgb3: extend copyrights to 2008 2008-10-13 18:47:30 -07:00
ael1002.c cxgb3: extend copyrights to 2008 2008-10-13 18:47:30 -07:00
common.h cxgb3: extend copyrights to 2008 2008-10-13 18:47:30 -07:00
cxgb3_ctl_defs.h cxgb3: extend copyrights to 2008 2008-10-13 18:47:30 -07: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: extend copyrights to 2008 2008-10-13 18:47:30 -07:00
cxgb3_offload.c cxgb3: extend copyrights to 2008 2008-10-13 18:47:30 -07:00
cxgb3_offload.h cxgb3: extend copyrights to 2008 2008-10-13 18:47:30 -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
mc5.c cxgb3: extend copyrights to 2008 2008-10-13 18:47:30 -07:00
regs.h cxgb3: More flexible support for PHY interrupts. 2008-10-08 17:39:00 -07:00
sge.c cxgb3: extend copyrights to 2008 2008-10-13 18:47:30 -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 cxgb3: extend copyrights to 2008 2008-10-13 18:47:30 -07:00
t3cdev.h cxgb3: extend copyrights to 2008 2008-10-13 18:47:30 -07:00
version.h cxgb3: extend copyrights to 2008 2008-10-13 18:47:30 -07:00
vsc8211.c cxgb3: extend copyrights to 2008 2008-10-13 18:47:30 -07:00
xgmac.c cxgb3: extend copyrights to 2008 2008-10-13 18:47:30 -07:00