All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [Lksctp-developers] [RFC PATCH] [SCTP]: Support the new specification
@ 2008-04-01 21:46 Vlad Yasevich
  2008-04-01 22:42 ` [Lksctp-developers] [RFC PATCH] [SCTP]: Support the new specification of sctp Ivan Skytte Jørgensen
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Vlad Yasevich @ 2008-04-01 21:46 UTC (permalink / raw)
  To: linux-sctp

Ivan Skytte Jørgensen wrote:
> On Friday 28 March 2008 20:54:38 Vlad Yasevich wrote:
>> The specification of sctp_connectx() has been changed to return
>> an association id.  Sence it is guaranteed the association id will
>> be a positive 32 bit integer, we can simply return that from our
>> setsockopt() in the case of success.  The library that implements
>> sctp_connectx() will re-interpret the call.
> 
> Partial NAK.
> 
> It breaks old versions of lksctp. I am not aware that we previously have 
> required lksctp to match the kernel exactly unless there was no other way.
> 
> A new sockopt is safer.
> 
> /isj


In what way?  The only possible problem is that sctp_connectx()
can return a positive value on success in addition to 0, depending
on which kernel is used.

How much of a problem is this really?

A new socket option is actually problematic as well, because the 
behavior will depend on the system that lksctp libraries are built
on.

So, I am not sure which tradeoff is better...

-vlad

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-04-14  1:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-01 21:46 [Lksctp-developers] [RFC PATCH] [SCTP]: Support the new specification Vlad Yasevich
2008-04-01 22:42 ` [Lksctp-developers] [RFC PATCH] [SCTP]: Support the new specification of sctp Ivan Skytte Jørgensen
2008-04-02 15:50 ` [Lksctp-developers] [RFC PATCH] [SCTP]: Support the new specification Vlad Yasevich
2008-04-11 19:56 ` Vlad Yasevich
2008-04-12 11:11 ` [Lksctp-developers] [RFC PATCH] [SCTP]: Support the new specification of sctp_connectx() Ivan Skytte Jørgensen
2008-04-14  1:13 ` [Lksctp-developers] [RFC PATCH] [SCTP]: Support the new specification Vlad Yasevich

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.