Thread (26 messages) flat view 26 messages, 5 authors, 2020-01-24

Re: [PATCH bpf 2/4] selftests: bpf: ignore RST packets for reuseport tests

From: Lorenz Bauer <hidden>
Date: 2020-01-23 17:18:25
Also in: bpf, linux-kselftest, lkml

On Thu, 23 Jan 2020 at 17:16, Martin Lau [off-list ref] wrote:
On Thu, Jan 23, 2020 at 04:59:31PM +0000, Lorenz Bauer wrote:
quoted
The reuseport tests currently suffer from a race condition: RST
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 RST is processed.

Exit the BPF program early if FIN is set.
Make sense.
Is it a RST or FIN?  The earlier commit message said RST.
FIN, sorry. I'll update in a follow up.

-- 
Lorenz Bauer  |  Systems Engineer
6th Floor, County Hall/The Riverside Building, SE1 7PB, UK

www.cloudflare.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help