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
nexedi
linux
Commits
4d71d74a
Commit
4d71d74a
authored
Apr 14, 2003
by
Jon Grimm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SCTP] Use GFP_ATOMIC, while we holding the local_addr_lock.
parent
f5401ee9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
net/sctp/protocol.c
net/sctp/protocol.c
+2
-1
No files found.
net/sctp/protocol.c
View file @
4d71d74a
...
@@ -223,7 +223,8 @@ int sctp_copy_local_addr_list(struct sctp_protocol *proto,
...
@@ -223,7 +223,8 @@ int sctp_copy_local_addr_list(struct sctp_protocol *proto,
(((
AF_INET6
==
addr
->
a
.
sa
.
sa_family
)
&&
(((
AF_INET6
==
addr
->
a
.
sa
.
sa_family
)
&&
(
copy_flags
&
SCTP_ADDR6_ALLOWED
)
&&
(
copy_flags
&
SCTP_ADDR6_ALLOWED
)
&&
(
copy_flags
&
SCTP_ADDR6_PEERSUPP
))))
{
(
copy_flags
&
SCTP_ADDR6_PEERSUPP
))))
{
error
=
sctp_add_bind_addr
(
bp
,
&
addr
->
a
,
gfp
);
error
=
sctp_add_bind_addr
(
bp
,
&
addr
->
a
,
GFP_ATOMIC
);
if
(
error
)
if
(
error
)
goto
end_copy
;
goto
end_copy
;
}
}
...
...
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