]> www.infradead.org Git - users/hch/misc.git/commit
mptcp: handle consistently DSS corruption
authorPaolo Abeni <pabeni@redhat.com>
Tue, 8 Oct 2024 11:04:52 +0000 (13:04 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 10 Oct 2024 02:43:44 +0000 (19:43 -0700)
commite32d262c89e2b22cb0640223f953b548617ed8a6
treeaa5c02296b9d5ebe22a19d9a1643eaf524ecbc0e
parentd94785bb46b6167382b1de3290eccc91fa98df53
mptcp: handle consistently DSS corruption

Bugged peer implementation can send corrupted DSS options, consistently
hitting a few warning in the data path. Use DEBUG_NET assertions, to
avoid the splat on some builds and handle consistently the error, dumping
related MIBs and performing fallback and/or reset according to the
subflow type.

Fixes: 6771bfd9ee24 ("mptcp: update mptcp ack sequence from work queue")
Cc: stable@vger.kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://patch.msgid.link/20241008-net-mptcp-fallback-fixes-v1-1-c6fb8e93e551@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/mptcp/mib.c
net/mptcp/mib.h
net/mptcp/protocol.c
net/mptcp/subflow.c