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
fc994094
Commit
fc994094
authored
Oct 08, 2002
by
Daisy Chang
Committed by
Jon Grimm
Oct 08, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sctp: Fix bug 611919 - should ignore the cwnd value for fast retransmit.
parent
b06ce00b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
net/sctp/output.c
net/sctp/output.c
+11
-3
No files found.
net/sctp/output.c
View file @
fc994094
...
@@ -530,10 +530,18 @@ static sctp_xmit_t sctp_packet_append_data(sctp_packet_t *packet,
...
@@ -530,10 +530,18 @@ static sctp_xmit_t sctp_packet_append_data(sctp_packet_t *packet,
* to a given transport address if it has cwnd or more bytes
* to a given transport address if it has cwnd or more bytes
* of data outstanding to that transport address.
* of data outstanding to that transport address.
*/
*/
/* RFC 7.2.4 & the Implementers Guide 2.8.
*
* 3) ...
* When a Fast Retransmit is being performed the sender SHOULD
* ignore the value of cwnd and SHOULD NOT delay retransmission.
*/
if
(
!
chunk
->
fast_retransmit
)
{
if
(
transport
->
flight_size
>=
transport
->
cwnd
)
{
if
(
transport
->
flight_size
>=
transport
->
cwnd
)
{
retval
=
SCTP_XMIT_RWND_FULL
;
retval
=
SCTP_XMIT_RWND_FULL
;
goto
finish
;
goto
finish
;
}
}
}
/* Keep track of how many bytes are in flight over this transport. */
/* Keep track of how many bytes are in flight over this transport. */
transport
->
flight_size
+=
datasize
;
transport
->
flight_size
+=
datasize
;
...
...
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