diff options
| author | Florent Revest <[email protected]> | 2020-12-04 12:36:09 +0100 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2020-12-04 22:32:40 +0100 |
| commit | 34da87213d3ddd26643aa83deff7ffc6463da0fc (patch) | |
| tree | 8dca2f1c1cfefc0fe847186de2ad1feaf1e420e1 /scripts/gcc-plugins/sancov_plugin.c | |
| parent | bd9b327e58f98aa7126291bf12b50720c660e787 (diff) | |
selftests/bpf: Test bpf_sk_storage_get in tcp iterators
This extends the existing bpf_sk_storage_get test where a socket is
created and tagged with its creator's pid by a task_file iterator.
A TCP iterator is now also used at the end of the test to negate the
values already stored in the local storage. The test therefore expects
-getpid() to be stored in the local storage.
Signed-off-by: Florent Revest <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Acked-by: Martin KaFai Lau <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions