diff options
author | Matthieu Baerts <matthieu.baerts@tessares.net> | 2023-07-04 22:44:38 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-07-23 13:54:13 +0200 |
commit | eb7a979f6c35bd8ce40c16daca82e59d32aba492 (patch) | |
tree | d754716c0f1b90217a3ea3a912cfc1626b0b42e7 | |
parent | 31ed3efae7b0ae4efdd02754f3dd847e5a1fe7a0 (diff) | |
download | linux-stable-eb7a979f6c35bd8ce40c16daca82e59d32aba492.tar.gz linux-stable-eb7a979f6c35bd8ce40c16daca82e59d32aba492.tar.bz2 linux-stable-eb7a979f6c35bd8ce40c16daca82e59d32aba492.zip |
selftests: mptcp: userspace_pm: use correct server port
commit d8566d0e03922217f70d9be2d401fcb860986374 upstream.
"server4_port" variable is not set but "app4_port" is the server port in
v4 and the correct variable name to use.
The port is optional so there was no visible impact.
Link: https://github.com/multipath-tcp/mptcp_net-next/issues/368
Fixes: ca188a25d43f ("selftests: mptcp: userspace PM support for MP_PRIO signals")
Cc: stable@vger.kernel.org
Acked-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rwxr-xr-x | tools/testing/selftests/net/mptcp/userspace_pm.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/net/mptcp/userspace_pm.sh b/tools/testing/selftests/net/mptcp/userspace_pm.sh index 98d9e4d2d3fc..841a67a7d524 100755 --- a/tools/testing/selftests/net/mptcp/userspace_pm.sh +++ b/tools/testing/selftests/net/mptcp/userspace_pm.sh @@ -848,7 +848,7 @@ test_prio() local count # Send MP_PRIO signal from client to server machine - ip netns exec "$ns2" ./pm_nl_ctl set 10.0.1.2 port "$client4_port" flags backup token "$client4_token" rip 10.0.1.1 rport "$server4_port" + ip netns exec "$ns2" ./pm_nl_ctl set 10.0.1.2 port "$client4_port" flags backup token "$client4_token" rip 10.0.1.1 rport "$app4_port" sleep 0.5 # Check TX |