commit | 71ca6744e118d6850bf47f58e872900f5f47b9ee | [log] [tgz] |
---|---|---|
author | Gavin Shan <[email protected]> | Tue Jun 03 16:55:36 2014 +1000 |
committer | cstl-robot <[email protected]> | Tue Jun 03 15:41:43 2014 +0800 |
tree | 60fcf5d1fd63fd2dd5df62cba294fd2c83b0a730 | |
parent | 347b0c20f4f655b892f328635f3426f3e73ba241 [diff] |
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. It's responsing to bug#110450. Signed-off-by: Gavin Shan <[email protected]>