diff options
author | Gavin Shan | 2014-01-24 10:12:03 +0100 |
---|---|---|
committer | David S. Miller | 2014-01-25 01:00:37 +0100 |
commit | 8b662fe70c68282f78482dc272df0c4f355e49f5 (patch) | |
tree | 769c0d31b2b0b5dbcd24ea8f82ece34dc3367913 /arch/mips/include/asm/asmmacro-32.h | |
parent | ipv6: reallocate addrconf router for ipv6 address when lo device up (diff) | |
download | kernel-qcow2-linux-8b662fe70c68282f78482dc272df0c4f355e49f5.tar.gz kernel-qcow2-linux-8b662fe70c68282f78482dc272df0c4f355e49f5.tar.xz kernel-qcow2-linux-8b662fe70c68282f78482dc272df0c4f355e49f5.zip |
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>
Diffstat (limited to 'arch/mips/include/asm/asmmacro-32.h')
0 files changed, 0 insertions, 0 deletions