All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Abeni <pabeni at redhat.com>
To: mptcp at lists.01.org
Subject: [MPTCP] [PATCH mptcp-next 0/2] mptcp: handle socket errors
Date: Mon, 01 Feb 2021 19:12:12 +0100	[thread overview]
Message-ID: <cover.1612201708.git.pabeni@redhat.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 896 bytes --]

This introduces the initial support for msk-level socket error
handling.

Currently subflow socket errors are always ignored. That is almost
correct - I think - because the single subflow status does not
affect the msk-level connection.

There a couple of notable exceptions:
- fallen-back msk
- error at connect time on the MPC subflow
both should be propagated at msk level.

patch 1 implement the relevant infra
patch 2 is actuall a bug fix, for some edge cases that become
apparent testing the above.

I'll push a bunch of pktdrill test case which will cover the above.  

Paolo Abeni (2):
  mptcp: deliver ssk errors to msk
  mptcp: fix poll after shutdown

 net/mptcp/protocol.c | 11 ++++++++++-
 net/mptcp/protocol.h |  4 ++++
 net/mptcp/subflow.c  | 43 +++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 57 insertions(+), 1 deletion(-)

-- 
2.26.2

                 reply	other threads:[~2021-02-01 18:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1612201708.git.pabeni@redhat.com \
    --to=unknown@example.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.