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
596fcdee
Commit
596fcdee
authored
May 05, 2004
by
David S. Miller
Browse files
Options
Browse Files
Download
Plain Diff
Merge
http://linux-lksctp.bkbits.net/lksctp-2.5.work
into nuts.davemloft.net:/disk1/BK/net-2.6
parents
f1eda5ba
40d40337
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
net/sctp/outqueue.c
net/sctp/outqueue.c
+4
-2
net/sctp/ulpevent.c
net/sctp/ulpevent.c
+1
-1
net/sctp/ulpqueue.c
net/sctp/ulpqueue.c
+1
-1
No files found.
net/sctp/outqueue.c
View file @
596fcdee
...
@@ -1056,7 +1056,9 @@ int sctp_outq_sack(struct sctp_outq *q, struct sctp_sackhdr *sack)
...
@@ -1056,7 +1056,9 @@ int sctp_outq_sack(struct sctp_outq *q, struct sctp_sackhdr *sack)
}
}
/* Get the highest TSN in the sack. */
/* Get the highest TSN in the sack. */
highest_tsn
=
sack_ctsn
+
highest_tsn
=
sack_ctsn
;
if
(
sack
->
num_gap_ack_blocks
)
highest_tsn
+=
ntohs
(
frags
[
ntohs
(
sack
->
num_gap_ack_blocks
)
-
1
].
gab
.
end
);
ntohs
(
frags
[
ntohs
(
sack
->
num_gap_ack_blocks
)
-
1
].
gab
.
end
);
if
(
TSN_lt
(
asoc
->
highest_sacked
,
highest_tsn
))
{
if
(
TSN_lt
(
asoc
->
highest_sacked
,
highest_tsn
))
{
...
...
net/sctp/ulpevent.c
View file @
596fcdee
...
@@ -77,7 +77,7 @@ struct sctp_ulpevent *sctp_ulpevent_new(int size, int msg_flags, int gfp)
...
@@ -77,7 +77,7 @@ struct sctp_ulpevent *sctp_ulpevent_new(int size, int msg_flags, int gfp)
/* Initialize an ULP event from an given skb. */
/* Initialize an ULP event from an given skb. */
void
sctp_ulpevent_init
(
struct
sctp_ulpevent
*
event
,
int
msg_flags
)
void
sctp_ulpevent_init
(
struct
sctp_ulpevent
*
event
,
int
msg_flags
)
{
{
memset
(
event
,
sizeof
(
struct
sctp_ulpevent
),
0x00
);
memset
(
event
,
0
,
sizeof
(
struct
sctp_ulpevent
)
);
event
->
msg_flags
=
msg_flags
;
event
->
msg_flags
=
msg_flags
;
}
}
...
...
net/sctp/ulpqueue.c
View file @
596fcdee
...
@@ -79,7 +79,7 @@ struct sctp_ulpq *sctp_ulpq_new(struct sctp_association *asoc, int gfp)
...
@@ -79,7 +79,7 @@ struct sctp_ulpq *sctp_ulpq_new(struct sctp_association *asoc, int gfp)
struct
sctp_ulpq
*
sctp_ulpq_init
(
struct
sctp_ulpq
*
ulpq
,
struct
sctp_ulpq
*
sctp_ulpq_init
(
struct
sctp_ulpq
*
ulpq
,
struct
sctp_association
*
asoc
)
struct
sctp_association
*
asoc
)
{
{
memset
(
ulpq
,
sizeof
(
struct
sctp_ulpq
),
0x00
);
memset
(
ulpq
,
0
,
sizeof
(
struct
sctp_ulpq
)
);
ulpq
->
asoc
=
asoc
;
ulpq
->
asoc
=
asoc
;
skb_queue_head_init
(
&
ulpq
->
reasm
);
skb_queue_head_init
(
&
ulpq
->
reasm
);
...
...
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