net/hinic: Fix oops when memory is insufficient
driver inclusion category: bugfix bugzilla: 4472 ----------------------------------------------------------------------- If the hinic driver fails to alloc memory during the packet receiving process, it will print two logs. When the system memory is probabilistically insufficient, the hinic device will print logs repeatedly, causing system oops. Use statistics instead of logging in the IO process. Signed-off-by:Chiqijun <chiqijun@huawei.com> Reviewed-by:
Wangxiaoyun <cloud.wangxiaoyun@huawei.com> Signed-off-by:
Yang Yingliang <yangyingliang@huawei.com>
Loading
Please sign in to comment