diff options
| author | wujianguo <[email protected]> | 2021-12-29 10:58:10 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2021-12-30 01:29:50 +0000 |
| commit | 9c1952aeaa98b3cfc49e2a79cb2c7d6a674213e9 (patch) | |
| tree | 6e57d5886fe13c83e4938639a8365b8284a8b964 /net/unix/af_unix.c | |
| parent | Merge branch 'net-bridge-mcast-add-and-enforce-query-interval-minimum' (diff) | |
| download | kernel-9c1952aeaa98b3cfc49e2a79cb2c7d6a674213e9.tar.gz kernel-9c1952aeaa98b3cfc49e2a79cb2c7d6a674213e9.zip | |
selftests/net: udpgso_bench_tx: fix dst ip argument
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: 3a687bef148d ("selftests: udp gso benchmark")
Signed-off-by: Jianguo Wu <[email protected]>
Reviewed-by: Willem de Bruijn <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
