android_kernel_motorola_sm6225/tools
wujianguo 690327ea5a selftests/net: udpgso_bench_tx: fix dst ip argument
[ Upstream commit 9c1952aeaa98b3cfc49e2a79cb2c7d6a674213e9 ]

udpgso_bench_tx call setup_sockaddr() for dest address before
parsing all arguments, if we specify "-p ${dst_port}" after "-D ${dst_ip}",
then ${dst_port} will be ignored, and using default cfg_port 8000.

This will cause test case "multiple GRO socks" failed in udpgro.sh.

Setup sockaddr after parsing all arguments.

Fixes: 3a687bef14 ("selftests: udp gso benchmark")
Signed-off-by: Jianguo Wu <wujianguo@chinatelecom.cn>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Link: https://lore.kernel.org/r/ff620d9f-5b52-06ab-5286-44b945453002@163.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-01-05 12:34:59 +01:00
..
accounting tools/accounting/getdelays.c: fix netlink attribute length 2020-04-13 10:45:10 +02:00
arch ia64: tools: remove duplicate definition of ia64_mf() on ia64 2021-04-28 13:16:53 +02:00
bpf bpftool: Check malloc return value in mount_bpffs_for_pin 2021-07-28 11:13:48 +02:00
build tools build: Remove needless libpython-version feature check that breaks test-all fast path 2021-12-14 10:18:07 +01:00
cgroup
firewire
gpio tools: gpio-hammer: Avoid potential overflow in main 2020-10-01 13:14:39 +02:00
hv Tools: hv: kvp: eliminate 'may be used uninitialized' warning 2019-09-10 10:33:50 +01:00
iio iio: iio-utils: Fix possible incorrect mask calculation 2019-07-31 07:27:02 +02:00
include tools headers UAPI: Sync linux/in.h copy with the kernel sources 2021-06-30 08:48:26 -04:00
kvm/kvm_stat tools/kvm_stat: Fix kvm_exit filter name 2020-02-11 04:34:08 -08:00
laptop
leds
lib bpf: Add BPF_F_ANY_ALIGNMENT. 2021-06-10 13:24:08 +02:00
memory-model tools/memory-model: Rename litmus tests to comply to norm7 2018-07-17 09:30:36 +02:00
nfsd
objtool objtool: Don't fail on missing symbol table 2021-02-07 14:48:38 +01:00
pci tools: PCI: Fix broken pcitest compilation 2019-11-24 08:21:08 +01:00
pcmcia
perf tools build: Remove needless libpython-version feature check that breaks test-all fast path 2021-12-14 10:18:07 +01:00
power tools: Factor HOSTCC, HOSTLD, HOSTAR definitions 2021-01-30 13:32:13 +01:00
scripts tools: Factor HOSTCC, HOSTLD, HOSTAR definitions 2021-01-30 13:32:13 +01:00
spi
testing selftests/net: udpgso_bench_tx: fix dst ip argument 2022-01-05 12:34:59 +01:00
thermal/tmon tools/thermal/tmon: Add cross compiling support 2021-09-22 11:47:59 +02:00
time
usb usb: testusb: Fix for showing the connection speed 2021-10-09 14:11:03 +02:00
virtio virtio: fix test build after uio.h change 2019-01-13 09:51:03 +01:00
vm tools/vm/page-types: remove dependency on opt_file for idle page tracking 2021-10-09 14:11:03 +02:00
wmi
Makefile