Commit a99c347b authored by shenhao's avatar shenhao Committed by Yang Yingliang
Browse files

net: hns3: do mac configuration instead of rollback when malloc mac node fail



driver inclusion
category: bugfix
bugzilla: NA
CVE: NA

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

Currently, when traversing the mac list, and allocating memory
fail for mac node, it will stop traversing, and rollback the
tmp_add_list and tmp_del_list. It's unnecessary, we can continue
the configuration with the tmp_add_list and tmp_del_list, which
may free some memory after delete node.

Signed-off-by: default avatarJian Shen <shenjian15@huawei.com>
Signed-off-by: default avatarshenhao <shenhao21@huawei.com>
Reviewed-by: default avatarZhong Zhaohui <zhongzhaohui@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent ddd2b025
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment