OpenCloudOS-Kernel/drivers/net/ethernet/chelsio/cxgb4
Gavin Shan 8b662fe70c net/cxgb4: Fix referencing freed adapter
The adapter is freed before we check its flags. It was caused
by commit 144be3d ("net/cxgb4: Avoid disabling PCI device for
towice"). The problem was reported by Intel's "0-day" tool.

The patch fixes it to avoid reverting commit 144be3d.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-01-24 16:00:37 -08:00
..
Makefile
cxgb4.h net/cxgb4: Avoid disabling PCI device for towice 2014-01-23 13:21:03 -08:00
cxgb4_main.c net/cxgb4: Fix referencing freed adapter 2014-01-24 16:00:37 -08:00
cxgb4_uld.h cxgb4: Assign filter server TIDs properly 2013-12-22 18:09:07 -05:00
l2t.c cxgb4: silence shift wrapping static checker warning 2014-01-13 11:15:58 -08:00
l2t.h cxgb4: Add API to correctly calculate tuple fields 2013-12-22 18:09:08 -05:00
sge.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2014-01-06 17:37:45 -05:00
t4_hw.c drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
t4_hw.h cxgb4: Initialize T5 2013-03-14 11:35:53 -04:00
t4_msg.h cxgb4: Add routines to create and remove listening IPv6 servers 2013-08-12 12:33:36 -07:00
t4_regs.h cxgb4: Add API to correctly calculate tuple fields 2013-12-22 18:09:08 -05:00
t4fw_api.h cxgb4: Add new scheme to update T4/T5 firmware 2013-12-03 16:55:40 -05:00