]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: poll allow write call before actual connect
authorBenjamin Hesmans <benjamin.hesmans@tessares.net>
Mon, 26 Sep 2022 23:27:39 +0000 (16:27 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 29 Sep 2022 01:52:03 +0000 (18:52 -0700)
commita42cf9d18278a172ff2dcdf51b8772462d2fa5a5
treea81b3f200ee0f5da3c84a31be5ea1e5566fbfc4f
parentd98a82a6afc764156d6ca7a437d52761ac9b062e
mptcp: poll allow write call before actual connect

If fastopen is used, poll must allow a first write that will trigger
the SYN+data

Similar to what is done in tcp_poll().

Acked-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Benjamin Hesmans <benjamin.hesmans@tessares.net>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/mptcp/protocol.c