From: Vlad Yasevich <vladislav.yasevich@hp.com>
To: linux-sctp@vger.kernel.org
Subject: Re: Do piggybacked ACKs work?
Date: Wed, 29 Jul 2009 18:14:30 +0000 [thread overview]
Message-ID: <4A709186.9090303@hp.com> (raw)
In-Reply-To: <20090725020953.GA17581@nortel.com>
Doug Graham wrote:
>
> Oh yeah, I should also mention that I still don't understand what the
> original 'asoc->a_rwnd > asoc->rwnd' condition was all about. I replaced
> that condition with timer_pending(), but if the original condition really
> does have something to with sending window updates as you mentioned,
> it's possible that it should be left in as well. ie:
>
> if ((asoc->a_rwnd > asoc->rwnd) || timer_pending(timer))
>
> but then keep in mind that the body of that if block has been rewritten
> to assume that the timer is pending if the block is executed. If the
> block can be entered as a result of either of these two conditions,
> that assumption may no longer be true.
I just re-read this code and it looks like it's trying to catch a condition when
a new packet was given to the socket, but the socket issued a write instead of
a read.
In this case, the timer solution would do the same thing.
During loss, there is no timer as gaps are reported immediately. Upon loss
recovery, there is timer, but the notification shouldn't be delayed (this is a
bug) and this corrects that as well.
I'll run this through it's paces to see if anything breaks, but I think it
should be good.
-vlad
>
> --Doug.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sctp" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
prev parent reply other threads:[~2009-07-29 18:14 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-25 2:09 Do piggybacked ACKs work? Doug Graham
2009-07-28 15:13 ` Vlad Yasevich
2009-07-28 15:49 ` Doug Graham
2009-07-28 16:09 ` Vlad Yasevich
2009-07-28 20:45 ` Doug Graham
2009-07-28 21:18 ` Michael Tüxen
2009-07-28 22:31 ` Doug Graham
2009-07-28 22:49 ` Doug Graham
2009-07-29 0:06 ` Michael Tüxen
2009-07-29 15:19 ` Vlad Yasevich
2009-07-29 16:07 ` Doug Graham
2009-07-29 16:21 ` Doug Graham
2009-07-29 18:14 ` Vlad Yasevich [this message]
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=4A709186.9090303@hp.com \
--to=vladislav.yasevich@hp.com \
--cc=linux-sctp@vger.kernel.org \
/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.