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
a77bd2c4
Commit
a77bd2c4
authored
Jun 08, 2003
by
Jon Grimm
Committed by
Jon Grimm
Jun 08, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SCTP] Incorrect WORD_ROUND on a network endian value.
parent
e4454257
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
include/net/sctp/sctp.h
include/net/sctp/sctp.h
+1
-1
No files found.
include/net/sctp/sctp.h
View file @
a77bd2c4
...
@@ -451,7 +451,7 @@ static inline int sctp_frag_point(const struct sctp_opt *sp, int pmtu)
...
@@ -451,7 +451,7 @@ static inline int sctp_frag_point(const struct sctp_opt *sp, int pmtu)
* there is room for a param header too.
* there is room for a param header too.
*/
*/
#define sctp_walk_params(pos, chunk, member)\
#define sctp_walk_params(pos, chunk, member)\
_sctp_walk_params((pos), (chunk),
ntohs(WORD_ROUND
((chunk)->chunk_hdr.length)), member)
_sctp_walk_params((pos), (chunk),
WORD_ROUND(ntohs
((chunk)->chunk_hdr.length)), member)
#define _sctp_walk_params(pos, chunk, end, member)\
#define _sctp_walk_params(pos, chunk, end, member)\
for (pos.v = chunk->member;\
for (pos.v = chunk->member;\
...
...
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