Commit 27f6de87 authored by Chiqijun's avatar Chiqijun Committed by Yang Yingliang
Browse files

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: default avatarChiqijun <chiqijun@huawei.com>
Reviewed-by: default avatarWangxiaoyun <cloud.wangxiaoyun@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 30667025
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment