]> www.infradead.org Git - users/willy/xarray.git/commit
mptcp: pm: reuse ID 0 after delete and re-add
authorMatthieu Baerts (NGI0) <matttbe@kernel.org>
Wed, 28 Aug 2024 06:14:24 +0000 (08:14 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 29 Aug 2024 08:39:49 +0000 (10:39 +0200)
commit8b8ed1b429f8fa7ebd5632555e7b047bc0620075
treeb571bec2ab2cec49cd5b54da2a2b3ba44c2bff76
parent0870b0d8b393dde53106678a1e2cec9dfa52f9b7
mptcp: pm: reuse ID 0 after delete and re-add

When the endpoint used by the initial subflow is removed and re-added
later, the PM has to force the ID 0, it is a special case imposed by the
MPTCP specs.

Note that the endpoint should then need to be re-added reusing the same
ID.

Fixes: 3ad14f54bd74 ("mptcp: more accurate MPC endpoint tracking")
Cc: stable@vger.kernel.org
Reviewed-by: Mat Martineau <martineau@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
net/mptcp/pm_netlink.c