diff options
author | Martin KaFai Lau | 2019-03-12 18:23:09 +0100 |
---|---|---|
committer | Alexei Starovoitov | 2019-03-13 20:04:35 +0100 |
commit | b55aa7b04bb42274b4a894020b5b2fa059c3527e (patch) | |
tree | 32f0c9d89a04f571a0ee340c4d20c262a6201986 /ipc/util.c | |
parent | bpf: Sync bpf.h to tools/ (diff) | |
download | kernel-qcow2-linux-b55aa7b04bb42274b4a894020b5b2fa059c3527e.tar.gz kernel-qcow2-linux-b55aa7b04bb42274b4a894020b5b2fa059c3527e.tar.xz kernel-qcow2-linux-b55aa7b04bb42274b4a894020b5b2fa059c3527e.zip |
bpf: Test ref release issue in bpf_tcp_sock and bpf_sk_fullsock
Adding verifier tests to ensure the ptr returned from bpf_tcp_sock() and
bpf_sk_fullsock() cannot be accessed after bpf_sk_release() is called.
A few of the tests are derived from a reproducer test by Lorenz Bauer.
Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'ipc/util.c')
0 files changed, 0 insertions, 0 deletions