Bug 438082

Summary: interface change for user space sctp API - "struct sctp_paddrparams"
Product: Red Hat Enterprise Linux 5 Reporter: William Reich <reich>
Component: lksctp-toolsAssignee: Zdenek Prikryl <zprikryl>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 5.0   
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-04-29 13:07:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description William Reich 2008-03-18 21:50:00 UTC
Description of problem:

interface change for user space sctp API - 
The structure "struct sctp_paddrparams" has changed
between RHAS4 and RHAS5. Therefore, the setsockopt() call
fails with inputs of IPPROTO_SCTP and
SCTP_PEER_ADDR_PARAMS.

Is there anything that can be done besides
recode & recompile  of my application ?

Going from RH3 to RH4 did not require any recoding...

I did not see anything in RH5 release notes on this.
Is any documentation available on this topic 
of SCTP interface changes ?



Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Zdenek Prikryl 2008-04-29 13:07:45 UTC
Hello,
RHAS4 has lksctp-tools-1.0.2 and RHAS5 has lksctp-tools-1.0.6. According the
changelog in 1.0.6 (/usr/share/doc/lksctp-tool-1.0.6/Changelog), there are some
bugfixes and changes in API. But there are only notes about that.

So there is no other way how to fix it than rewriting && recompiling your
application. If you want to get more detailed information, you'll maybe find
something at official web pages.