Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
9d6498b1
Commit
9d6498b1
authored
Jun 03, 2004
by
Jorge Hernandez-Herrero
Committed by
Sridhar Samudrala
Jun 03, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SCTP] Fix to not start a new association on a 1-many style sendmsg()
with MSG_EOF/MSG_ABORT flag and no data.
parent
f5dfceb1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
net/sctp/socket.c
net/sctp/socket.c
+5
-0
No files found.
net/sctp/socket.c
View file @
9d6498b1
...
...
@@ -1164,6 +1164,11 @@ SCTP_STATIC int sctp_sendmsg(struct kiocb *iocb, struct sock *sk,
if
(
!
asoc
)
{
SCTP_DEBUG_PRINTK
(
"There is no association yet.
\n
"
);
if
(
sinfo_flags
&
(
MSG_EOF
|
MSG_ABORT
))
{
err
=
-
EINVAL
;
goto
out_unlock
;
}
/* Check for invalid stream against the stream counts,
* either the default or the user specified stream counts.
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment