]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: More compatible nc options in test_lwt_ip_encap
authorJiri Benc <jbenc@redhat.com>
Tue, 8 Oct 2019 13:10:45 +0000 (15:10 +0200)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 8 Oct 2019 21:59:22 +0000 (23:59 +0200)
commit274a7f663853327e29885e4cccacb673d80f4518
treed7c35cca7eea028642b2bf5de0d54bbdd52c76cd
parent6d08400e68e201a68ff5049f63925075e772205f
selftests/bpf: More compatible nc options in test_lwt_ip_encap

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: 60979190bb32 ("selftests/bpf: test that GSO works in lwt_ip_encap")
Signed-off-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/9f177682c387f3f943bb64d849e6c6774df3c5b4.1570539863.git.jbenc@redhat.com
tools/testing/selftests/bpf/test_lwt_ip_encap.sh