summaryrefslogtreecommitdiff
path: root/net/ieee802154/core.h
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2023-06-20 19:24:18 +0300
committerJakub Kicinski <kuba@kernel.org>2023-06-22 08:44:54 +0300
commitc2b2ae3925b65070adb27d5a31a31c376f26dec7 (patch)
treef7fc3d3bda23abaea001e2c062001da2496d1b13 /net/ieee802154/core.h
parent59bb14bda2f86550d10e65c9091ba442a0ac4b45 (diff)
downloadlinux-c2b2ae3925b65070adb27d5a31a31c376f26dec7.tar.xz
mptcp: handle correctly disconnect() failures
Currently the mptcp code has assumes that disconnect() can fail only at mptcp_sendmsg_fastopen() time - to avoid a deadlock scenario - and don't even bother returning an error code. Soon mptcp_disconnect() will handle more error conditions: let's track them explicitly. As a bonus, explicitly annotate TCP-level disconnect as not failing: the mptcp code never blocks for event on the subflows. Fixes: 7d803344fdc3 ("mptcp: fix deadlock in fastopen error path") Cc: stable@vger.kernel.org Signed-off-by: Paolo Abeni <pabeni@redhat.com> Tested-by: Christoph Paasch <cpaasch@apple.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>
Diffstat (limited to 'net/ieee802154/core.h')
0 files changed, 0 insertions, 0 deletions