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: NJian Shen <shenjian15@huawei.com> Signed-off-by: Nshenhao <shenhao21@huawei.com> Reviewed-by: NZhong Zhaohui <zhongzhaohui@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录