diff options
author | Willem de Bruijn <willemb@google.com> | 2021-11-11 14:57:17 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-11-18 21:17:13 +0300 |
commit | 2cc4450b5327cecfad53c342f5dda42623d416e0 (patch) | |
tree | 78954036a8bc1608e7e11665d5f9fcaa42b9fd39 /mm | |
parent | 3ce70c345537ccf6acf63003f675f84374e117d4 (diff) | |
download | linux-2cc4450b5327cecfad53c342f5dda42623d416e0.tar.xz |
selftests/net: udpgso_bench_rx: fix port argument
[ Upstream commit d336509cb9d03970911878bb77f0497f64fda061 ]
The below commit added optional support for passing a bind address.
It configures the sockaddr bind arguments before parsing options and
reconfigures on options -b and -4.
This broke support for passing port (-p) on its own.
Configure sockaddr after parsing all arguments.
Fixes: 3327a9c46352 ("selftests: add functionals test for UDP GRO")
Reported-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions