diff options
| author | 2021-01-22 16:47:18 +0100 | |
|---|---|---|
| committer | 2021-01-26 00:05:01 +0100 | |
| commit | 8a9cba7ea858da134d18aa9ea09e1e6606d8ade6 (patch) | |
| tree | eb7213f006ed39bcf19384df646e68f0b2be72ea /tools/perf/scripts/python | |
| parent | selftests/bpf: Remove memory leak (diff) | |
selftests/bpf: Improve readability of xdpxceiver/worker_pkt_validate()
Introduce a local variable to get rid of lot of casting. Move common
code outside the if/else-clause.
Signed-off-by: Björn Töpel <bjorn.topel@intel.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20210122154725.22140-6-bjorn.topel@gmail.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
