From: David Miller <davem@davemloft.net>
To: nhorman@tuxdriver.com
Cc: netdev@vger.kernel.org, vyasevich@gmail.com, linux-sctp@vger.kernel.org
Subject: Re: [PATCH v6] sctp: be more restrictive in transport selection on bundled sacks
Date: Sat, 30 Jun 2012 17:39:45 -0700 (PDT) [thread overview]
Message-ID: <20120630.173945.173993639982489712.davem@davemloft.net> (raw)
In-Reply-To: <1341061466-4186-1-git-send-email-nhorman@tuxdriver.com>
From: Neil Horman <nhorman@tuxdriver.com>
Date: Sat, 30 Jun 2012 09:04:26 -0400
> It was noticed recently that when we send data on a transport, its possible that
> we might bundle a sack that arrived on a different transport. While this isn't
> a major problem, it does go against the SHOULD requirement in section 6.4 of RFC
> 2960:
>
> An endpoint SHOULD transmit reply chunks (e.g., SACK, HEARTBEAT ACK,
> etc.) to the same destination transport address from which it
> received the DATA or control chunk to which it is replying. This
> rule should also be followed if the endpoint is bundling DATA chunks
> together with the reply chunk.
>
> This patch seeks to correct that. It restricts the bundling of sack operations
> to only those transports which have moved the ctsn of the association forward
> since the last sack. By doing this we guarantee that we only bundle outbound
> saks on a transport that has received a chunk since the last sack. This brings
> us into stricter compliance with the RFC.
>
> Vlad had initially suggested that we strictly allow only sack bundling on the
> transport that last moved the ctsn forward. While this makes sense, I was
> concerned that doing so prevented us from bundling in the case where we had
> received chunks that moved the ctsn on multiple transports. In those cases, the
> RFC allows us to select any of the transports having received chunks to bundle
> the sack on. so I've modified the approach to allow for that, by adding a state
> variable to each transport that tracks weather it has moved the ctsn since the
> last sack. This I think keeps our behavior (and performance), close enough to
> our current profile that I think we can do this without a sysctl knob to
> enable/disable it.
>
> Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
> CC: Vlad Yaseivch <vyasevich@gmail.com>
> CC: David S. Miller <davem@davemloft.net>
> CC: linux-sctp@vger.kernel.org
> Reported-by: Michele Baldessari <michele@redhat.com>
> Reported-by: sorin serban <sserban@redhat.com>
Once this has Vlad's ACK I'll apply it.
There has to be a better way to handle this situation, wherein the
responsible party has ACK'd the patch but I just ask for a few coding
style fixups and whatnot. As it stands now I have to twiddle my
thumbs waiting for the new ACK.
next prev parent reply other threads:[~2012-07-01 0:39 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-26 20:31 [PATCH] sctp: be mroe restrictive in transport selection on bundled sacks Neil Horman
2012-06-27 4:05 ` David Miller
2012-06-27 10:24 ` Neil Horman
2012-06-27 13:20 ` Vlad Yasevich
2012-06-27 13:22 ` Neil Horman
2012-06-27 14:23 ` [PATCH v2] sctp: be more " Neil Horman
2012-06-27 15:10 ` Vlad Yasevich
2012-06-27 17:28 ` Neil Horman
2012-06-27 19:44 ` Vlad Yasevich
2012-06-28 15:33 ` Neil Horman
2012-06-28 15:58 ` Vlad Yasevich
2012-06-28 18:07 ` Neil Horman
2012-06-28 18:22 ` Vlad Yasevich
2012-06-28 18:36 ` Neil Horman
2012-06-28 20:14 ` Neil Horman
2012-06-29 16:34 ` [PATCH v3] " Neil Horman
2012-06-29 18:29 ` Vlad Yasevich
2012-06-29 18:43 ` Neil Horman
2012-06-29 19:15 ` Vlad Yasevich
2012-06-29 19:21 ` Neil Horman
2012-06-29 19:24 ` [PATCH v4] " Neil Horman
2012-06-29 20:15 ` [PATCH v5] " Neil Horman
2012-06-29 20:19 ` Vlad Yasevich
2012-06-29 23:34 ` David Miller
2012-06-30 12:26 ` Neil Horman
2012-07-01 0:38 ` David Miller
2012-06-30 13:04 ` [PATCH v6] " Neil Horman
2012-07-01 0:39 ` David Miller [this message]
2012-07-01 3:17 ` Vlad Yasevich
2012-07-01 5:44 ` David Miller
2012-07-01 12:47 ` Neil Horman
2012-07-01 21:43 ` David Miller
2012-07-01 23:44 ` Neil Horman
2012-07-02 12:25 ` Neil Horman
2012-07-03 0:10 ` David Miller
2012-07-03 18:45 ` Jan Ceuleers
2012-07-03 23:42 ` Neil Horman
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=20120630.173945.173993639982489712.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=linux-sctp@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=nhorman@tuxdriver.com \
--cc=vyasevich@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).