Commit 88fbd7e4 authored by Barry Song's avatar Barry Song Committed by Yang Yingliang
Browse files

net: hns3: replace disable_irq by IRQ_NOAUTOEN flag



mainline inclusion
from mainline-v5.9-rc1
commit e99a308d
category: bugfix
bugzilla: NA
CVE: NA

----------------------------

disable_irq() after request_irq() is still risk as there is a chance irq
can come after request_irq() and before disable_irq().
this should be done by IRQ_NOAUTOEN flag.

Signed-off-by: default avatarBarry Song <song.bao.hua@hisilicon.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarYonglong Liu <liuyonglong@huawei.com>
Reviewed-by: default avatarli yongxin <liyongxin1@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 1c230e3b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment