All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Paasch <cpaasch at apple.com>
To: mptcp at lists.01.org
Subject: Re: [MPTCP] [PATCH 1/2] skbuff: Add shared control buffer
Date: Wed, 08 Nov 2017 09:25:52 +0900	[thread overview]
Message-ID: <20171108002552.GK5226@Chimay.local> (raw)
In-Reply-To: d8c5760d-5716-98f1-22b8-13f17b4bb8b3@oracle.com

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

On 07/11/17 - 15:23:42, Rao Shoaib wrote:
> 
> 
> On 11/07/2017 01:15 PM, Christoph Paasch wrote:
> > hese are meta-level retransmissions that are being sent on a different
> > subflow and/or on the same subflow but with new TCP sequence numbers and a
> > new DSS-mapping. These indeed end up going through mptcp_skb_entail().
> > 
> > The retransmissions I mean are the TCP-level retransmissions (aka.,
> > fast-retransmits, tail-loss-probe, RTO,...). They don't go through
> > mptcp_skb_entail again.
> > 
> > I will take a look at the trace in the other mail.
> > 
> > 
> > Christoph
> RTO will go through this code.
> Partial ACK and fast-retransmit etc are fine if they are transmitted with
> the same mapping (or else DSS will fail as well) In fact it is required. On
> the receiver an adjustment is made for the TCP flow's seq number.  See
> mptcp_detect_mapping() it requires that the (partial)  skb has the exact
> same mapping as if it was transmitted as part of the original skb and than
> look at mptcp_validate_mapping() and mptcp_prepare_skb() that adjust the
> data sequence number based on the tcp sequence number of the packet.
> 
> If not than can you explain how the current mechanism works and what happens
> to the DSS settings in case of retransmission. Where/How does it gets
> updated because mptcp_options_write() only does a copy with the updated ACK.

The way it is handled currently is that the mapping is decided during
mptcp_skb_entail(), which writes the mapping to the skb->cb.

From that moment on it won't change anymore and, as you know, it will simply
get copied from the skb->cb to the TCP-header in mptcp_options_write().


Christoph

> 
> When I have some more time I will verify by hacking the kernel. Sorry I can
> not upload the complete kernel as it is a mess right now, I changed a lot of
> things, that is why it has taken this long to even get ssh working. I will
> try to get you just the patch for this fix.
> 
> Shoaib

             reply	other threads:[~2017-11-08  0:25 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-08  0:25 Christoph Paasch [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-11-13  6:47 [MPTCP] [PATCH 1/2] skbuff: Add shared control buffer cpaasch
2017-11-10  0:31 Mat Martineau
2017-11-09 16:26 Mat Martineau
2017-11-09  7:56 cpaasch
2017-11-09  7:51 cpaasch
2017-11-09  4:48 cpaasch
2017-11-09  4:13 Christoph Paasch
2017-11-08 21:02 Christoph Paasch
2017-11-08 20:41 Rao Shoaib
2017-11-07 23:35 Rao Shoaib
2017-11-07 23:23 Rao Shoaib
2017-11-07 21:15 Christoph Paasch
2017-11-07 17:13 Rao Shoaib
2017-11-07  4:09 Christoph Paasch
2017-11-07  3:16 Rao Shoaib
2017-11-07  2:46 Rao Shoaib
2017-11-06 22:24 Christoph Paasch
2017-11-06  2:45 Rao Shoaib
2017-11-03  5:10 Christoph Paasch
2017-11-02 21:41 Mat Martineau
2017-10-31 21:58 Mat Martineau
2017-10-31  4:17 Christoph Paasch
2017-10-30 22:44 Mat Martineau
2017-10-30  4:16 Christoph Paasch
2017-10-27 19:57 Christoph Paasch
2017-10-27 18:19 Mat Martineau
2017-10-26 23:20 Rao Shoaib
2017-10-26 22:26 Rao Shoaib
2017-10-23 23:10 Mat Martineau
2017-10-23 22:51 Mat Martineau
2017-10-23 20:13 Rao Shoaib
2017-10-23 20:10 Christoph Paasch
2017-10-23 19:49 Rao Shoaib
2017-10-23 16:37 Christoph Paasch
2017-10-20 23:02 Mat Martineau

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=20171108002552.GK5226@Chimay.local \
    --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.