bpf: fix verifier memory leaks
authorAlexei Starovoitov <ast@fb.com>
Wed, 3 Apr 2019 18:39:02 +0000 (18:39 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Apr 2019 07:15:08 +0000 (09:15 +0200)
commit534087e6c3375562635b734345dd7a00ae53ba31
treedf5d19fe695ad4961298897402baf8578dcaf080
parent28356c21ac32d49d15a3ea7383b0a96052d15394
bpf: fix verifier memory leaks

commit 1969db47f8d0e800397abd4ee4e8d27d2b578587 upstream.

fix verifier memory leaks

Fixes: 638f5b90d460 ("bpf: reduce verifier memory consumption")
Signed-off-by: Alexei Starovoitov <ast@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Balbir Singh <sblbir@amzn.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/bpf/verifier.c