* question on SCTP_DELAYED_ACK and sctp_sack_info
@ 2009-10-20 21:55 Chris Friesen
2009-10-20 23:40 ` Vlad Yasevich
0 siblings, 1 reply; 2+ messages in thread
From: Chris Friesen @ 2009-10-20 21:55 UTC (permalink / raw)
To: linux-sctp
Hi all,
I've got a question about the handling of SCTP_DELAYED_ACK.
In sctp_setsockopt_delayed_ack() the code looks to see if the size of
the struct being passed down matches the size of struct sctp_sack_info.
If it doesn't, it accepts being passed struct sctp_assoc_value but it
complains about it.
However, the lksctp-tools package doesn't seem to define or use struct
sctp_sack_info anywhere, only struct sctp_assoc_value.
Are apps expected to copy the struct definition themselves? Is there
any plan to update lksctp-tools?
Thanks,
Chris
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: question on SCTP_DELAYED_ACK and sctp_sack_info
2009-10-20 21:55 question on SCTP_DELAYED_ACK and sctp_sack_info Chris Friesen
@ 2009-10-20 23:40 ` Vlad Yasevich
0 siblings, 0 replies; 2+ messages in thread
From: Vlad Yasevich @ 2009-10-20 23:40 UTC (permalink / raw)
To: linux-sctp
Chris Friesen wrote:
> Hi all,
>
> I've got a question about the handling of SCTP_DELAYED_ACK.
>
> In sctp_setsockopt_delayed_ack() the code looks to see if the size of
> the struct being passed down matches the size of struct sctp_sack_info.
> If it doesn't, it accepts being passed struct sctp_assoc_value but it
> complains about it.
>
> However, the lksctp-tools package doesn't seem to define or use struct
> sctp_sack_info anywhere, only struct sctp_assoc_value.
>
> Are apps expected to copy the struct definition themselves? Is there
> any plan to update lksctp-tools?
Yes. I have to get my a** in gear and do a release.
If you pull the sources from
git://git.kernel.org/pub/scm/linux/kernel/git/vxy/lksctp-tools.git
you'll get an updated one.
I am going to spend some time tomorrow to get that code out.
Thanks for a kick in the pants
-vlad
>
> Thanks,
>
> Chris
> --
> 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
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-10-20 23:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-20 21:55 question on SCTP_DELAYED_ACK and sctp_sack_info Chris Friesen
2009-10-20 23:40 ` Vlad Yasevich
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).