Bug 167712
Summary: | Missing CANT_STR_ASSOC notification with SCTP stream socket. | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Jere Leppanen <jere.leppanen> |
Component: | kernel | Assignee: | Neil Horman <nhorman> |
Status: | CLOSED NOTABUG | QA Contact: | Brian Brock <bbrock> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.0 | CC: | davem, jbaron, pcfe |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-11-01 20:56:44 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
Jere Leppanen
2005-09-07 14:48:47 UTC
Also tested in RHEL4 U2beta and kernel-2.6.13-git6+lksctp-tools-1.0.3-1 with identical results. This doesn't appear to be a bug to me. Opening a socket as SOCK_STREAM, indicates to the kernel that this is a connection oriented protocol, and as SUS defines that unconnected sockets which are opened to connection oriented protocols must return -1 as an error code and set errno to ENOTCONN: http://www.opengroup.org/onlinepubs/000095399/toc.htm I realize that the sctp protocol defines a event notification that should be queued to the socket for the user to read, but the POSIX specification really needs to take precedence here. If you need to see these notifications, the connection should be opened as a SEQPACKET type socket. |