From: Daniel Borkmann <dborkman@redhat.com>
To: linux-sctp@vger.kernel.org
Subject: Re: [lksctp-developers] sctp_status: Got sendmsg: Invalid argument when set max_stream larger than 1
Date: Tue, 29 Oct 2013 18:22:39 +0000 [thread overview]
Message-ID: <526FFCEF.8060603@redhat.com> (raw)
In-Reply-To: <CAPwn2JQRx3j3GieoZaFh4wO7MPGmZPNY9W2U7hsQJ0xUULX3MA@mail.gmail.com>
On 10/27/2013 04:11 AM, Hangbin Liu wrote:
> Hi Daniel,
>
> When I run sctp_status test and set max_stream >= 10, the client will
> fail with "sendmsg: Invalid argument". Would you like to help have a
> look at this?
>
> # ./sctp_status -H 127.0.0.1 -P 9998 -h 127.0.0.1 -p 9999 -s -d 2 -M 20
> remote:addr\x127.0.0.1, port=distinct, family=2
> local:addr\x127.0.0.1, port=distinct32, family=2
>
> Starting tests...
> socket(SOCK_STREAM, IPPROTO_SCTP) -> sk=3
> bind(sk=3, [a:127.0.0.1,p:distinct32]) -- attempt 1/10
> connect(sk=3)
> Client: Sending packets.(1/10)
> sendmsg(sk=3, assoc=0) 17768 bytes.
> SNDRCV(stream=1 flags=0x1 ppid„6930886)
> sendmsg(sk=3, assoc=0) 6250 bytes.
> SNDRCV(stream=2 flags=0x1 ppid\x1714636915)
> sendmsg(sk=3, assoc=0) 23634 bytes.
> SNDRCV(stream=3 flags=0x1 ppidB4238335)
> sendmsg(sk=3, assoc=0) 5195 bytes.
> SNDRCV(stream=4 flags=0x1 ppid\x1649760492)
> sendmsg(sk=3, assoc=0) 7978 bytes.
> SNDRCV(stream=5 flags=0x1 ppid\x1189641421)
> sendmsg(sk=3, assoc=0) 22715 bytes.
> SNDRCV(stream=6 flags=0x1 ppid\x1350490027)
> sendmsg(sk=3, assoc=0) 16883 bytes.
> SNDRCV(stream=7 flags=0x1 ppid\x1102520059)
> sendmsg(sk=3, assoc=0) 10724 bytes.
> SNDRCV(stream=8 flags=0x1 ppid\x1967513926)
> sendmsg(sk=3, assoc=0) 125 bytes.
> SNDRCV(stream=9 flags=0x1 ppid\x1540383426)
> sendmsg(sk=3, assoc=0) 2133 bytes.
> SNDRCV(stream\x10 flags=0x1 ppid\x1303455736)
>
> *** sendmsg: Invalid argument ***
Will have a look tomorrow, thanks.
> Thanks
> Hangbin Liu
> --
> 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
>
next prev parent reply other threads:[~2013-10-29 18:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-27 3:11 [lksctp-developers] sctp_status: Got sendmsg: Invalid argument when set max_stream larger than 10 Hangbin Liu
2013-10-28 13:06 ` [lksctp-developers] sctp_status: Got sendmsg: Invalid argument when set max_stream larger than 1 Vladislav Yasevich
2013-10-29 18:22 ` Daniel Borkmann [this message]
2013-10-30 15:24 ` Daniel Borkmann
2013-10-31 2:54 ` Hangbin Liu
2013-11-04 9:48 ` Daniel Borkmann
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=526FFCEF.8060603@redhat.com \
--to=dborkman@redhat.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.