]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: More compatible nc options in test_tc_edt
authorJiri Benc <jbenc@redhat.com>
Fri, 18 Oct 2019 12:00:42 +0000 (14:00 +0200)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 18 Oct 2019 20:33:57 +0000 (22:33 +0200)
commit29374d7bcb076ae45c143e7d0c781218ec396432
treee0a5f1e9f57ef67ae8ae990d238bddc840d49489
parent8a3b438bd757d1a778850396aa05498f25566c0d
selftests/bpf: More compatible nc options in test_tc_edt

Out of the three nc implementations widely in use, at least two (BSD netcat
and nmap-ncat) do not support -l combined with -s. Modify the nc invocation
to be accepted by all of them.

Fixes: 38a74b33525f ("selftests: bpf: tc-bpf flow shaping with EDT")
Signed-off-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Peter Oskolkov <posk@google.com>
Link: https://lore.kernel.org/bpf/f5bf07dccd8b552a76c84d49e80b86c5aa071122.1571400024.git.jbenc@redhat.com
tools/testing/selftests/bpf/test_tc_edt.sh