Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sched: fix profile allocation failure handling
[ upstream commit a042481 ] This patch fixes return value judgment when allocate memory to store the subport profile, and releases memory of 'rte_sched_port' if code fails to apply for this memory. Fixes: 0ea4c6a ("sched: add subport profile table") Signed-off-by: Huisong Li <lihuisong@huawei.com> Signed-off-by: Min Hu (Connor) <humin29@huawei.com> Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
- Loading branch information