diff options
author | Zhengchao Shao <shaozhengchao@huawei.com> | 2022-11-09 05:37:41 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2022-11-10 15:00:59 +0300 |
commit | 0348c1ab980c1d43fb37b758d4b760990c066cb5 (patch) | |
tree | c6210a05f0de17f90cc5b38117584694b0c4d57e /tools/perf/scripts/python/stackcollapse.py | |
parent | 1893bb64c0d97f53febcfa606dc34dd581008d1d (diff) | |
download | linux-0348c1ab980c1d43fb37b758d4b760990c066cb5.tar.xz |
ethernet: s2io: disable napi when start nic failed in s2io_card_up()
When failed to start nic or add interrupt service routine in
s2io_card_up() for opening device, napi isn't disabled. When open
s2io device next time, it will trigger a BUG_ON()in napi_enable().
Compile tested only.
Fixes: 5f490c968056 ("S2io: Fixed synchronization between scheduling of napi with card reset and close")
Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
Link: https://lore.kernel.org/r/20221109023741.131552-1-shaozhengchao@huawei.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions