summaryrefslogtreecommitdiff
path: root/trafgen.zsh
AgeCommit message (Expand)AuthorFilesLines
2013-05-13zsh: add netsniff-ng zsh auto completion supportDaniel Borkmann1-0/+55
info' class='commit-info'> authorBenjamin Marzinski <bmarzins@redhat.com>2016-12-04 23:26:38 -0600 committerMike Snitzer <snitzer@redhat.com>2016-12-08 14:13:15 -0500 commitb446396b7482938c859bfaa42320026d158616ae (patch) tree214d463d2ca567c8969a70b1255edc1c15b61947 parent0c79ce0b75304fbbe42282a7d40af4367e31efc6 (diff)
dm space map: always set ev if sm_ll_mutate() succeeds
If no block was allocated or freed, sm_ll_mutate() wasn't setting *ev, leaving the variable unitialized. sm_ll_insert(), sm_disk_inc_block(), and sm_disk_new_block() all check ev to see if there was an allocation event in sm_ll_mutate(), possibly reading unitialized data. If no allocation event occured, sm_ll_mutate() should set *ev to SM_NONE. Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com> Acked-by: Joe Thornber <ejt@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat
rivate-remove&id=daa5fc711ee0fdbec8d55734d3975c17f2070b97'>daa5fc711ee0fdbec8d55734d3975c17f2070b97 (patch)
tree818554b86ad5f16649551345ad4a7abdf8128738 /tools/testing/selftests/bpf/test_verifier.c
parente40d5d78df539c0c9b6625cdf5b1bc4b14c4d8bf (diff)
parentbc6a3d9977b6ea093cd7c567ef83657023e77f26 (diff)
Merge branch 'bpf-selftests-improve-and-use-library'
Mickaël Salaün says: ==================== Improve BPF selftests and use the library (net-next tree) This series brings some fixes to selftests, add the ability to test unprivileged BPF programs as root and replace bpf_sys.h with calls to the BPF library. This is intended for the net-next tree and apply on c0e4dadb3494 ("net: dsa: mv88e6xxx: Move forward declaration to where it is needed"). Changes since v4: * align text for function calls as requested by Daniel Borkmann (bpf_load_program and bpf_map_update_elem) * rebase Changes since v3: * keep the bzero() calls Changes since v2: * use the patches from two previous series (unprivileged tests and bpf_sys.h replacement) * include one more stdint.h * rebase on net-next * add this cover letter Changes since v1: * exclude patches not intended for the net-next tree ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/bpf/test_verifier.c')
-rw-r--r--tools/testing/selftests/bpf/test_verifier.c84
1 files changed, 72 insertions, 12 deletions
diff --git a/tools/testing/selftests/bpf/test_verifier.c b/tools/testing/selftests/bpf/test_verifier.c