linux/drivers/net/ethernet/chelsio
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
..
cxgb drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
cxgb3 drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
cxgb4 net/cxgb4: Fix referencing freed adapter 2014-01-24 16:00:37 -08:00
cxgb4vf cxgb4: make functions static and remove dead code 2013-12-22 18:32:44 -05:00
Kconfig cxgb3: Restore dependency on INET 2012-11-28 17:40:59 -05:00
Makefile