* SCTP sockopt discrepancy between 2.4 and 2.6.
@ 2004-02-02 18:43 David Woodhouse
2004-02-02 19:03 ` David S. Miller
2004-02-02 19:09 ` Sridhar Samudrala
0 siblings, 2 replies; 6+ messages in thread
From: David Woodhouse @ 2004-02-02 18:43 UTC (permalink / raw)
To: netdev, marcelo.tosatti; +Cc: lksctp-developers
The 2.4 and 2.6 SCTP code have _different_ values for the SCTP_*
sockopts. The 2.4 version claims to implement
draft-ietf-tsvwg-sctpsocket-04.txt while the 2.6 version implements
draft-ietf-tsvwg-sctpsocket-07.txt.
This means that tools compiled with the current libraries and header
files cannot work on the 2.4 kernel.
Am I missing something -- like perhaps the existence of a patch to
update the 2.4 kernel -- or is the SCTP implementation in 2.4 no longer
being maintained, and no longer compatible with 2.6 and its userspace?
--
dwmw2
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: SCTP sockopt discrepancy between 2.4 and 2.6.
2004-02-02 18:43 SCTP sockopt discrepancy between 2.4 and 2.6 David Woodhouse
@ 2004-02-02 19:03 ` David S. Miller
2004-02-02 19:09 ` Sridhar Samudrala
1 sibling, 0 replies; 6+ messages in thread
From: David S. Miller @ 2004-02-02 19:03 UTC (permalink / raw)
To: David Woodhouse; +Cc: netdev, marcelo.tosatti, lksctp-developers
On Mon, 02 Feb 2004 18:43:03 +0000
David Woodhouse <dwmw2@infradead.org> wrote:
> Am I missing something -- like perhaps the existence of a patch to
> update the 2.4 kernel -- or is the SCTP implementation in 2.4 no longer
> being maintained, and no longer compatible with 2.6 and its userspace?
Good catch David, this does need to be synchronized and fixed.
I believe the 2.4.x SCTP code was a port of some older 2.6.x incantation
and then the 2.6.x line kept being updated yet such updates never were
merged 2.4.x'ward.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: SCTP sockopt discrepancy between 2.4 and 2.6.
2004-02-02 18:43 SCTP sockopt discrepancy between 2.4 and 2.6 David Woodhouse
2004-02-02 19:03 ` David S. Miller
@ 2004-02-02 19:09 ` Sridhar Samudrala
2004-02-02 19:21 ` David S. Miller
1 sibling, 1 reply; 6+ messages in thread
From: Sridhar Samudrala @ 2004-02-02 19:09 UTC (permalink / raw)
To: David Woodhouse; +Cc: netdev, marcelo.tosatti, lksctp-developers
On Mon, 2 Feb 2004, David Woodhouse wrote:
> The 2.4 and 2.6 SCTP code have _different_ values for the SCTP_*
> sockopts. The 2.4 version claims to implement
> draft-ietf-tsvwg-sctpsocket-04.txt while the 2.6 version implements
> draft-ietf-tsvwg-sctpsocket-07.txt.
I think 2.4 lksctp is compatible with draft-iets-tsvwg-sctpsocket-06.txt.
>
> This means that tools compiled with the current libraries and header
> files cannot work on the 2.4 kernel.
Right. The latest lksctp-tools(lksctp-tools-2.6.0-test7-0.7.4) will not work
with 2.4. An earlier version(lksctp-tools-2_5_67-0_6_9) may work with 2.4.
>
> Am I missing something -- like perhaps the existence of a patch to
> update the 2.4 kernel -- or is the SCTP implementation in 2.4 no longer
> being maintained, and no longer compatible with 2.6 and its userspace?
2.4 lksctp implementation is a backport from 2.6(the backport originally was
done from 2.5.69). The backport process should have continued and kept up with
the 2.6 changes. But due to resource problems, it is not happening.
2.6 lksctp is under active development and is compatible with the latest
SCTP sockets api draft(ver 07).
Are you interested in a 2.4 version of lksctp?
Thanks
Sridhar
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: SCTP sockopt discrepancy between 2.4 and 2.6.
2004-02-02 19:09 ` Sridhar Samudrala
@ 2004-02-02 19:21 ` David S. Miller
2004-02-03 18:13 ` Sridhar Samudrala
0 siblings, 1 reply; 6+ messages in thread
From: David S. Miller @ 2004-02-02 19:21 UTC (permalink / raw)
To: Sridhar Samudrala; +Cc: dwmw2, netdev, marcelo.tosatti, lksctp-developers
I appreciate your status report Sridhar, thank you.
But the fact of the matter is that 2.4.x and 2.6.x cannot export two
totally incompatible user visible APIs for the SCTP socket layer.
This is something which must be fixed, not something we would like to
be fixed :-)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: SCTP sockopt discrepancy between 2.4 and 2.6.
2004-02-02 19:21 ` David S. Miller
@ 2004-02-03 18:13 ` Sridhar Samudrala
2004-02-03 18:19 ` David S. Miller
0 siblings, 1 reply; 6+ messages in thread
From: Sridhar Samudrala @ 2004-02-03 18:13 UTC (permalink / raw)
To: David S. Miller; +Cc: dwmw2, netdev, marcelo.tosatti, lksctp-developers
On Mon, 2 Feb 2004, David S. Miller wrote:
>
> I appreciate your status report Sridhar, thank you.
>
> But the fact of the matter is that 2.4.x and 2.6.x cannot export two
> totally incompatible user visible APIs for the SCTP socket layer.
>
> This is something which must be fixed, not something we would like to
> be fixed :-)
I contacted the team that started the 2.4 backport and we will try to fix
this in the next few weeks so that 2.4 lksctp is in sync 2.6. Hopefully
this will happen by 2.4.26.
Thanks
Sridhar
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: SCTP sockopt discrepancy between 2.4 and 2.6.
2004-02-03 18:13 ` Sridhar Samudrala
@ 2004-02-03 18:19 ` David S. Miller
0 siblings, 0 replies; 6+ messages in thread
From: David S. Miller @ 2004-02-03 18:19 UTC (permalink / raw)
To: Sridhar Samudrala; +Cc: dwmw2, netdev, marcelo.tosatti, lksctp-developers
On Tue, 3 Feb 2004 10:13:54 -0800 (PST)
Sridhar Samudrala <sri@us.ibm.com> wrote:
> I contacted the team that started the 2.4 backport and we will try to fix
> this in the next few weeks so that 2.4 lksctp is in sync 2.6. Hopefully
> this will happen by 2.4.26.
That's great news, thanks a lot for the status report.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2004-02-03 18:19 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-02 18:43 SCTP sockopt discrepancy between 2.4 and 2.6 David Woodhouse
2004-02-02 19:03 ` David S. Miller
2004-02-02 19:09 ` Sridhar Samudrala
2004-02-02 19:21 ` David S. Miller
2004-02-03 18:13 ` Sridhar Samudrala
2004-02-03 18:19 ` David S. Miller
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).