Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bpf, s390: Fix potential memory leak about jit_data
[ Upstream commit 686cb8b ] Make sure to free jit_data through kfree() in the error path. Fixes: 1c8f9b9 ("bpf: s390: add JIT support for multi-function programs") Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn> Acked-by: Ilya Leoshkevich <iii@linux.ibm.com> Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
- Loading branch information