All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vlad Yasevich <vyasevich@gmail.com>
To: linux-sctp@vger.kernel.org
Subject: Re: Possible SCTP peer receive window bug
Date: Wed, 05 Dec 2012 17:11:02 +0000	[thread overview]
Message-ID: <50BF8026.9040500@gmail.com> (raw)
In-Reply-To: <B1BF0D5B21C20F4D8AE9BB4366C9BFCA6D387197@ENFIRHMBX1.datcon.co.uk>

On 12/05/2012 11:30 AM, Neil Horman wrote:
> On Tue, Dec 04, 2012 at 09:58:35AM -0500, Neil Horman wrote:
>> On Tue, Dec 04, 2012 at 01:34:54PM +0000, Jamie Parsons wrote:
>>> Hi Neil and Vlad,
>>>
>>> I've spoken to IT services and they can install the Fedora 17 OS on a box for me.  Is that recent enough a kernel to repro the issue on?
>>>
>>> Thanks,
>>>
>>> Jamie
>>>
>> Yes, it is I think.  Vlad and I have also discussed this and we think a
>> systemtap script might be in order here so we can better track what the rwnd
>> value is doing as your test case progresses.  I'm sorry I've not gotten that to
>> you yet, but I'm working on it.
>> Neil
>>
>
>
> So, I have to apologize, but systemtap kinda sucks to work with.  Its not
> working yet, but I wanted to post this too you in case you have better systemtap
> skills than I do.  Regardless this stap script is generall the thing we want to
> run and should give us a fairly good view (when it works) of whats happening
> with an associations peer rwnd value in the stack.
>
> Best
> Neil
>
>
> probe module("sctp").function("sctp_assoc_update").return {
> 	printf("sctp_assoc_update updates asoc %p peer rwnd to %d\n", $asoc, $asoc->peer->rwnd);
> }
>
>
> probe module("sctp").function("sctp_retransmit_mark") {
> 	printf("sctp_retransmit_mark increases asoc %p peer rwnd to %d\n", $asoc, $q->asoc->peer->rwnd);
> }
>

shouldn't the above be ".return"?  Otherwise, we are triggered at 
function start.  might be worth a try to probe both start and end
and see what the diff.

> probe module("sctp").function("sctp_outq_sack") {
> 	printf("sctp_outq_sack updates asoc %p peer rwnd to %d\n", $q->asoc, $q->asoc->peer->rwnd);
> }
>

Same here...

-vlad

> probe module("sctp").function("sctp_packet_append_data").return {
> 	printf("sctp_packet_append_data reduces asoc %p peer rwnd to %d\n", $asoc, $asoc->peer->rwnd);
> }
>
> probe module("sctp").function("sctp_process_init").return {
> 	printf("sctp_process_init updates assoc %p peer rwnd to %d\n", $asoc, $asoc->peer->rwnd);
> }
>
>


  parent reply	other threads:[~2012-12-05 17:11 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-26 13:31 Possible SCTP peer receive window bug Jamie Parsons
2012-11-26 15:28 ` Neil Horman
2012-11-26 17:27 ` Jamie Parsons
2012-11-26 20:10 ` Neil Horman
2012-11-27 11:05 ` Jamie Parsons
2012-11-27 14:38 ` Neil Horman
2012-11-27 14:42 ` Jamie Parsons
2012-11-28 15:28 ` Neil Horman
2012-11-28 15:50 ` Vlad Yasevich
2012-11-28 20:55 ` Neil Horman
2012-11-28 21:25 ` Vlad Yasevich
2012-11-29  9:14 ` Jamie Parsons
2012-11-29  9:17 ` Jamie Parsons
2012-11-29 14:48 ` Neil Horman
2012-11-29 14:58 ` Neil Horman
2012-12-04 13:34 ` Jamie Parsons
2012-12-04 14:58 ` Neil Horman
2012-12-05 16:30 ` Neil Horman
2012-12-05 17:11 ` Vlad Yasevich [this message]
2012-12-06 14:03 ` Neil Horman
2012-12-06 15:42 ` Jamie Parsons
2012-12-06 19:14 ` Neil Horman
2012-12-06 21:39 ` Frank Ch. Eigler
2012-12-17 11:08 ` Jamie Parsons
2012-12-17 14:13 ` Neil Horman
2012-12-17 15:12 ` Vlad Yasevich
2012-12-20 12:17 ` Jamie Parsons
2013-01-16 16:58 ` Jamie Parsons
2013-01-16 21:11 ` Neil Horman
2013-01-17 16:45 ` Jamie Parsons
2013-01-17 17:43 ` 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=50BF8026.9040500@gmail.com \
    --to=vyasevich@gmail.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.