aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/test_maps.c
diff options
context:
space:
mode:
authorDaniel Borkmann <daniel@iogearbox.net>2017-06-11 00:50:43 +0200
committerDavid S. Miller <davem@davemloft.net>2017-06-10 19:05:45 -0400
commit36e24c003091a11ec847291c9a1d36d2ec92b155 (patch)
treef9fa3bc275aeb97f131a5e0ed1a3207f8d69565f /tools/testing/selftests/bpf/test_maps.c
parentbpf: reset id on CONST_IMM transition (diff)
downloadlinux-dev-36e24c003091a11ec847291c9a1d36d2ec92b155.tar.xz
linux-dev-36e24c003091a11ec847291c9a1d36d2ec92b155.zip
bpf: reset id on spilled regs in clear_all_pkt_pointers
Right now, we don't reset the id of spilled registers in case of clear_all_pkt_pointers(). Given pkt_pointers are highly likely to contain an id, do so by reusing __mark_reg_unknown_value(). Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/bpf/test_maps.c')
0 files changed, 0 insertions, 0 deletions