Searched hist:"6 f06b4d4d1cc676a3f9d947f931ec3866b6c4f6c" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/net/mptcp/ |
H A D | subflow.c | diff 6f06b4d4d1cc676a3f9d947f931ec3866b6c4f6c Tue Jun 20 11:30:17 CDT 2023 Paolo Abeni <pabeni@redhat.com> mptcp: add subflow unique id
The user-space need to properly account the data received/sent by individual subflows. When additional subflows are created and/or closed during the MPTCP socket lifetime, the information currently exposed via MPTCP_TCPINFO are not enough: subflows are identified only by the sequential position inside the info dumps, and that will change with the above mentioned events.
To solve the above problem, this patch introduces a new subflow identifier that is unique inside the given MPTCP socket scope.
The initial subflow get the id 1 and the other subflows get incremental values at join time.
Link: https://github.com/multipath-tcp/mptcp_net-next/issues/388 Signed-off-by: Paolo Abeni <pabeni@redhat.com> Reviewed-by: Matthieu Baerts <matthieu.baerts@tessares.net> Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
|
H A D | protocol.h | diff 6f06b4d4d1cc676a3f9d947f931ec3866b6c4f6c Tue Jun 20 11:30:17 CDT 2023 Paolo Abeni <pabeni@redhat.com> mptcp: add subflow unique id
The user-space need to properly account the data received/sent by individual subflows. When additional subflows are created and/or closed during the MPTCP socket lifetime, the information currently exposed via MPTCP_TCPINFO are not enough: subflows are identified only by the sequential position inside the info dumps, and that will change with the above mentioned events.
To solve the above problem, this patch introduces a new subflow identifier that is unique inside the given MPTCP socket scope.
The initial subflow get the id 1 and the other subflows get incremental values at join time.
Link: https://github.com/multipath-tcp/mptcp_net-next/issues/388 Signed-off-by: Paolo Abeni <pabeni@redhat.com> Reviewed-by: Matthieu Baerts <matthieu.baerts@tessares.net> Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
|
H A D | protocol.c | diff 6f06b4d4d1cc676a3f9d947f931ec3866b6c4f6c Tue Jun 20 11:30:17 CDT 2023 Paolo Abeni <pabeni@redhat.com> mptcp: add subflow unique id
The user-space need to properly account the data received/sent by individual subflows. When additional subflows are created and/or closed during the MPTCP socket lifetime, the information currently exposed via MPTCP_TCPINFO are not enough: subflows are identified only by the sequential position inside the info dumps, and that will change with the above mentioned events.
To solve the above problem, this patch introduces a new subflow identifier that is unique inside the given MPTCP socket scope.
The initial subflow get the id 1 and the other subflows get incremental values at join time.
Link: https://github.com/multipath-tcp/mptcp_net-next/issues/388 Signed-off-by: Paolo Abeni <pabeni@redhat.com> Reviewed-by: Matthieu Baerts <matthieu.baerts@tessares.net> Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
|