Home
last modified time | relevance | path

Searched hist:"71 ba088ce0aa87370b18a1d35cd742f352d51c24" (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/net/mptcp/
H A Dsubflow.cdiff 71ba088ce0aa87370b18a1d35cd742f352d51c24 Thu Jan 06 18:20:17 CST 2022 Paolo Abeni <pabeni@redhat.com> mptcp: cleanup accept and poll

After the previous patch, msk->subflow will never be deleted during
the whole msk lifetime. We don't need anymore to acquire references to
it in mptcp_stream_accept() and we can use the listener subflow accept
queue to simplify mptcp_poll() for listener socket.

Overall this removes a lock pair and 4 more atomic operations per
accept().

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>
H A Dprotocol.hdiff 71ba088ce0aa87370b18a1d35cd742f352d51c24 Thu Jan 06 18:20:17 CST 2022 Paolo Abeni <pabeni@redhat.com> mptcp: cleanup accept and poll

After the previous patch, msk->subflow will never be deleted during
the whole msk lifetime. We don't need anymore to acquire references to
it in mptcp_stream_accept() and we can use the listener subflow accept
queue to simplify mptcp_poll() for listener socket.

Overall this removes a lock pair and 4 more atomic operations per
accept().

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>
H A Dprotocol.cdiff 71ba088ce0aa87370b18a1d35cd742f352d51c24 Thu Jan 06 18:20:17 CST 2022 Paolo Abeni <pabeni@redhat.com> mptcp: cleanup accept and poll

After the previous patch, msk->subflow will never be deleted during
the whole msk lifetime. We don't need anymore to acquire references to
it in mptcp_stream_accept() and we can use the listener subflow accept
queue to simplify mptcp_poll() for listener socket.

Overall this removes a lock pair and 4 more atomic operations per
accept().

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>