diff options
author | Zhengchao Shao <shaozhengchao@huawei.com> | 2022-11-07 07:30:32 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-11-16 11:57:12 +0300 |
commit | 3a4a3c3b1fe6f9e2580abf1f5cf57f6c47c98111 (patch) | |
tree | 0b7f20d38628841b3a0dcc7b74e4069e7cdbef03 /tools | |
parent | 0b7ee3d50f32d277bf024b4ddb4de54da43a3025 (diff) | |
download | linux-3a4a3c3b1fe6f9e2580abf1f5cf57f6c47c98111.tar.xz |
drivers: net: xgene: disable napi when register irq failed in xgene_enet_open()
[ Upstream commit ce9e57feeed81d17d5e80ed86f516ff0d39c3867 ]
When failed to register irq in xgene_enet_open() for opening device,
napi isn't disabled. When open xgene device next time, it will reports
a invalid opcode issue. Fix it. Only be compiled, not be tested.
Fixes: aeb20b6b3f4e ("drivers: net: xgene: fix: ifconfig up/down crash")
Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
Link: https://lore.kernel.org/r/20221107043032.357673-1-shaozhengchao@huawei.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions