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:Jian Shen <shenjian15@huawei.com> Signed-off-by:
shenhao <shenhao21@huawei.com> Reviewed-by:
Zhong Zhaohui <zhongzhaohui@huawei.com> Signed-off-by:
Yang Yingliang <yangyingliang@huawei.com>
Loading
Please sign in to comment