Re: [PATCH bpf] selftests/bpf: More compatible nc options in test_tc_edt

2019-10-18 Thread Daniel Borkmann
On Fri, Oct 18, 2019 at 02:00:42PM +0200, Jiri Benc wrote: > 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: 7df5e3db8f63 ("selftests: bpf: tc-bpf f

Re: [PATCH bpf] selftests/bpf: More compatible nc options in test_tc_edt

2019-10-18 Thread Peter Oskolkov
On Fri, Oct 18, 2019 at 5:00 AM Jiri Benc wrote: > > 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: 7df5e3db8f63 ("selftests: bpf: tc-bpf flow shap

[PATCH bpf] selftests/bpf: More compatible nc options in test_tc_edt

2019-10-18 Thread Jiri Benc
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: 7df5e3db8f63 ("selftests: bpf: tc-bpf flow shaping with EDT") Cc: Peter Oskolkov Signed-off-by: Jiri Benc