summaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot
diff options
context:
space:
mode:
authorWeihang Li <liweihang@hisilicon.com>2019-06-03 10:09:18 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-07-26 09:10:21 +0200
commit852b5e1fa70868b5fc88be7299fecba274a1df09 (patch)
tree7b7c014174142a8868072e13228cf37d6b0be16a /arch/arm64/boot
parent44f7be43d1399251f3c9ad00582364cdae2c7be0 (diff)
downloadlinux-stable-852b5e1fa70868b5fc88be7299fecba274a1df09.tar.gz
linux-stable-852b5e1fa70868b5fc88be7299fecba274a1df09.tar.bz2
linux-stable-852b5e1fa70868b5fc88be7299fecba274a1df09.zip
net: hns3: set ops to null when unregister ad_dev
[ Upstream commit 594a81b39525f0a17e92c2e0b167ae1400650380 ] The hclge/hclgevf and hns3 module can be unloaded independently, when hclge/hclgevf unloaded firstly, the ops of ae_dev should be set to NULL, otherwise it will cause an use-after-free problem. Fixes: 38caee9d3ee8 ("net: hns3: Add support of the HNAE3 framework") Signed-off-by: Weihang Li <liweihang@hisilicon.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/arm64/boot')
0 files changed, 0 insertions, 0 deletions