acrn-kernel/tools/net
Daniel Borkmann d207cf4c1a bpf_exp: free duplicated labels at exit time
Valgrind found that extracted labels that are passed from the lexer
weren't freed upon exit. Therefore, add a small helper function that
walks label tables and frees them. Since also NULL can be passed to
free(3), we do not need to take care of that here. While at it, fix
up a spacing error in bpf_set_curr_label().

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-12-17 17:11:00 -05:00
..
Makefile filter: bpf_asm: add minimal bpf asm tool 2013-12-11 20:28:35 -05:00
bpf_asm.c filter: bpf_asm: add minimal bpf asm tool 2013-12-11 20:28:35 -05:00
bpf_dbg.c bpf_dbg: always close socket in bpf_runnable 2013-12-17 17:11:00 -05:00
bpf_exp.l filter: bpf_asm: add minimal bpf asm tool 2013-12-11 20:28:35 -05:00
bpf_exp.y bpf_exp: free duplicated labels at exit time 2013-12-17 17:11:00 -05:00
bpf_jit_disasm.c