Re: [PATCH net-next] mptcp: fix race in subflow_data_ready()

2020-07-06 Thread David Miller
From: Davide Caratti Date: Mon, 6 Jul 2020 21:06:12 +0200 > syzkaller was able to make the kernel reach subflow_data_ready() for a > server subflow that was closed before subflow_finish_connect() completed. > In these cases we can avoid using the path for regular/fallback MPTCP > data, and just

Re: [PATCH net-next] mptcp: fix race in subflow_data_ready()

2020-07-06 Thread Mat Martineau
On Mon, 6 Jul 2020, Davide Caratti wrote: syzkaller was able to make the kernel reach subflow_data_ready() for a server subflow that was closed before subflow_finish_connect() completed. In these cases we can avoid using the path for regular/fallback MPTCP data, and just wake the main socket, to

[PATCH net-next] mptcp: fix race in subflow_data_ready()

2020-07-06 Thread Davide Caratti
syzkaller was able to make the kernel reach subflow_data_ready() for a server subflow that was closed before subflow_finish_connect() completed. In these cases we can avoid using the path for regular/fallback MPTCP data, and just wake the main socket, to avoid the following warning: WARNING: CPU: