mptcp: don't clear MPTCP_DATA_READY in sk_wait_event()
authorPaolo Abeni <pabeni@redhat.com>
Mon, 21 Jun 2021 22:54:35 +0000 (15:54 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Jun 2021 16:57:45 +0000 (09:57 -0700)
commit3c90e377a1e87a35a7f868ed1c53ea4d62379a8d
treeb82f0e9506a3897111f78b846ddc64e3310b4656
parent75e908c33615999abe1f3a8429d25dea30d28e4e
mptcp: don't clear MPTCP_DATA_READY in sk_wait_event()

If we don't flush entirely the receive queue, we need set
again such bit later. We can simply avoid clearing it.

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/protocol.c