diff options
author | Florian Westphal <[email protected]> | 2022-08-04 17:21:27 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2022-08-05 08:51:29 +0100 |
commit | df9e03aec3b14970df05b72d54f8ac9da3ab29e1 (patch) | |
tree | 8fed0d7803971d048803f7aa504e33e86796c895 /lib/mpi/mpi-add.c | |
parent | c886d70286bf3ad411eb3d689328a67f7102c6ae (diff) |
selftests: mptcp: make sendfile selftest work
When the selftest got added, sendfile() on mptcp sockets returned
-EOPNOTSUPP, so running 'mptcp_connect.sh -m sendfile' failed
immediately.
This is no longer the case, but the script fails anyway due to timeout.
Let the receiver know once the sender has sent all data, just like
with '-m mmap' mode.
v2: need to respect cfg_wait too, as pm_userspace.sh relied
on -m sendfile to keep the connection open (Mat Martineau)
Fixes: 048d19d444be ("mptcp: add basic kselftest for mptcp")
Reported-by: Xiumei Mu <[email protected]>
Reviewed-by: Mat Martineau <[email protected]>
Signed-off-by: Florian Westphal <[email protected]>
Signed-off-by: Mat Martineau <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions