net: hns3: change GFP flag during lock period
driver inclusion category: bugfix bugzilla: NA CVE: NA When applying for a memory, the GFP_KERNEL cannot be used during the lock period. This is because it may cause system hibernation. This patch changes GFP flag to GFP_ATOMIC in this case. Feature or Bugfix:Bugfix Reviewed-by: Nlipeng <lipeng321@huawei.com> Reviewed-by: NYang Yingliang <yangyingliang@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录