Hi Davide,

On 15/07/2020 22:27, Davide Caratti wrote:
since commit d47a72152097 ("mptcp: fix race in subflow_data_ready()"), it
is possible to observe a regression in MP_JOIN kselftests. For sockets in
TCP_CLOSE state, it's not sufficient to just wake up the main socket: we
also need to ensure that received data are made available to the reader.
Silence the WARN_ON_ONCE() in these cases: it preserves the syzkaller fix
and restores kselftests when they are ran as follows:

   # while true; do
   > make KBUILD_OUTPUT=/tmp/kselftest TARGETS=net/mptcp kselftest
   > done

Reported-by: Florian Westphal <f...@strlen.de>
Fixes: d47a72152097 ("mptcp: fix race in subflow_data_ready()")
Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/47
Signed-off-by: Davide Caratti <dcara...@redhat.com>

Thank you for the patch!
It looks good to me and it fixes the kselftests on my side as well!

Reviewed-by: Matthieu Baerts <matthieu.bae...@tessares.net>

Cheers,
Matt
--
Tessares | Belgium | Hybrid Access Solutions
www.tessares.net

Reply via email to