diff options
author | Tiezhu Yang <yangtiezhu@loongson.cn> | 2021-09-27 15:06:14 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-10-13 10:08:20 +0200 |
commit | a326f9c01cfbee4450ae49ce618ae6cbc0f76842 (patch) | |
tree | 70115f57028472a36213d4fca1dffdc5e659c883 /net/unix/sysctl_net_unix.c | |
parent | 60bacf259e8c2eb2324f3e13275200baaee9494b (diff) |
bpf, s390: Fix potential memory leak about jit_data
[ Upstream commit 686cb8b9f6b46787f035afe8fbd132a74e6b1bdd ]
Make sure to free jit_data through kfree() in the error path.
Fixes: 1c8f9b91c456 ("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>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions