aboutsummaryrefslogtreecommitdiff
path: root/scripts/bpf_helpers_doc.py
diff options
context:
space:
mode:
authorLorenz Bauer <[email protected]>2020-01-24 11:27:52 +0000
committerDaniel Borkmann <[email protected]>2020-01-24 22:12:13 +0100
commit8bec4f665e0baecb5f1b683379fc10b3745eb612 (patch)
tree57325f0764a0775c16adcce31fc4a375842a2a8d /scripts/bpf_helpers_doc.py
parentc31dbb1e41d1857b403f9bf58c87f5898519a0bc (diff)
selftests: bpf: Ignore FIN packets for reuseport tests
The reuseport tests currently suffer from a race condition: FIN packets count towards DROP_ERR_SKB_DATA, since they don't contain a valid struct cmd. Tests will spuriously fail depending on whether check_results is called before or after the FIN is processed. Exit the BPF program early if FIN is set. Fixes: 91134d849a0e ("bpf: Test BPF_PROG_TYPE_SK_REUSEPORT") Signed-off-by: Lorenz Bauer <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Reviewed-by: Jakub Sitnicki <[email protected]> Acked-by: Martin KaFai Lau <[email protected]> Acked-by: John Fastabend <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions