diff options
| author | Jakub Sitnicki <[email protected]> | 2022-03-17 12:39:19 +0100 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2022-03-18 15:46:59 +0100 |
| commit | e06b5bbcf3f107fb5e148714efe2decfb3b4e0ac (patch) | |
| tree | eddc7190fc59d6b42ff5898fabcdd80fece24db2 /scripts/gdb/linux/config.py | |
| parent | 2d2202ba858c112b03f84d546e260c61425831a1 (diff) | |
selftests/bpf: Use constants for socket states in sock_fields test
Replace magic numbers in BPF code with constants from bpf.h, so that they
don't require an explanation in the comments.
Signed-off-by: Jakub Sitnicki <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Martin KaFai Lau <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions