diff options
author | Paolo Abeni <pabeni@redhat.com> | 2023-09-16 12:52:47 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-09-18 12:47:56 +0100 |
commit | 9f1a98813b4b686482e5ef3c9d998581cace0ba6 (patch) | |
tree | 935c9d4a0a350703c796fe7e04570def0ab4030b /kernel/Kconfig.hz | |
parent | d5fbeff1ab812b6c473b6924bee8748469462e2c (diff) | |
download | linux-stable-9f1a98813b4b686482e5ef3c9d998581cace0ba6.tar.gz linux-stable-9f1a98813b4b686482e5ef3c9d998581cace0ba6.tar.bz2 linux-stable-9f1a98813b4b686482e5ef3c9d998581cace0ba6.zip |
mptcp: process pending subflow error on close
On incoming TCP reset, subflow closing could happen before error
propagation. That in turn could cause the socket error being ignored,
and a missing socket state transition, as reported by Daire-Byrne.
Address the issues explicitly checking for subflow socket error at
close time. To avoid code duplication, factor-out of __mptcp_error_report()
a new helper implementing the relevant bits.
Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/429
Fixes: 15cc10453398 ("mptcp: deliver ssk errors to msk")
Cc: stable@vger.kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Mat Martineau <martineau@kernel.org>
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/Kconfig.hz')
0 files changed, 0 insertions, 0 deletions