diff options
author | Willem de Bruijn <willemb@google.com> | 2021-11-11 14:57:17 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-11-11 15:24:26 +0300 |
commit | d336509cb9d03970911878bb77f0497f64fda061 (patch) | |
tree | 49edd39c298c612423dc31d175a437ce98632b69 /net/nfc | |
parent | 29cd386750412297fd064c01c87bc40a26f24047 (diff) | |
download | linux-d336509cb9d03970911878bb77f0497f64fda061.tar.xz |
selftests/net: udpgso_bench_rx: fix port argument
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>
Diffstat (limited to 'net/nfc')
0 files changed, 0 insertions, 0 deletions