]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mptcp: use "middlebox interference" RST when no DSS
authorDavide Caratti <dcaratti@redhat.com>
Mon, 21 Oct 2024 15:14:06 +0000 (17:14 +0200)
committerJakub Kicinski <kuba@kernel.org>
Mon, 28 Oct 2024 22:55:45 +0000 (15:55 -0700)
commit46a3282b87b1f9a88534eba59ecf852b2a21289c
tree797f92f5cfd258a8955d207c9c8e9a18e2840ef0
parent5add80bfdc46f9ad6857c80e3af109177e59a280
mptcp: use "middlebox interference" RST when no DSS

RFC8684 suggests use of "Middlebox interference (code 0x06)" in case of
fully established subflow that carries data at TCP level with no DSS
sub-option.

This is generally the case when mpext is NULL or mpext->use_map is 0:
use a dedicated value of 'mapping_status' and use it before closing the
socket in subflow_check_data_avail().

Link: https://github.com/multipath-tcp/mptcp_net-next/issues/518
Signed-off-by: Davide Caratti <dcaratti@redhat.com>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://patch.msgid.link/20241021-net-next-mptcp-misc-6-13-v1-4-1ef02746504a@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/mptcp/subflow.c