Home
last modified time | relevance | path

Searched hist:"1 f6610b92ac3c4cd4b7904b1d00b776f9bf08ed3" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/mptcp/
H A Dprotocol.cdiff 1f6610b92ac3c4cd4b7904b1d00b776f9bf08ed3 Fri Aug 11 10:57:22 CDT 2023 Paolo Abeni <pabeni@redhat.com> mptcp: avoid unneeded indirection in mptcp_stream_accept()

We are going to remove the first subflow socket soon, so avoid
the additional indirection at accept() time. Instead access
directly the first subflow sock, and update mptcp_accept() to
operate on it. This allows dropping a duplicated check in
mptcp_accept().

No functional changes intended.

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Mat Martineau <martineau@kernel.org>
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: David S. Miller <davem@davemloft.net>