diff options
author | Zhengchao Shao <shaozhengchao@huawei.com> | 2022-11-07 11:14:43 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-11-09 02:44:02 +0100 |
commit | b06334919c7a068d54ba5b219c05e919d89943f7 (patch) | |
tree | 16379c9d1972f9da74277c3ebc6380549d398f58 /lib/cpu_rmap.c | |
parent | net: tun: call napi_schedule_prep() to ensure we own a napi (diff) | |
download | linux-b06334919c7a068d54ba5b219c05e919d89943f7.tar.xz linux-b06334919c7a068d54ba5b219c05e919d89943f7.zip |
net: nixge: disable napi when enable interrupts failed in nixge_open()
When failed to enable interrupts in nixge_open() for opening device,
napi isn't disabled. When open nixge device next time, it will reports
a invalid opcode issue. Fix it. Only be compiled, not be tested.
Fixes: 492caffa8a1a ("net: ethernet: nixge: Add support for National Instruments XGE netdev")
Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
Link: https://lore.kernel.org/r/20221107101443.120205-1-shaozhengchao@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/cpu_rmap.c')
0 files changed, 0 insertions, 0 deletions