summaryrefslogtreecommitdiff
path: root/drivers/net/can/xilinx_can.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2022-08-04 17:21:27 -0700
committerDavid S. Miller <davem@davemloft.net>2022-08-05 08:51:29 +0100
commitdf9e03aec3b14970df05b72d54f8ac9da3ab29e1 (patch)
tree8fed0d7803971d048803f7aa504e33e86796c895 /drivers/net/can/xilinx_can.c
parentc886d70286bf3ad411eb3d689328a67f7102c6ae (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 <xmu@redhat.com> Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com> Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/can/xilinx_can.c')
0 files changed, 0 insertions, 0 deletions