projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
SCTP: Initialize partial_bytes_acked to 0, when all of the data is acked.
[deliverable/linux.git]
/
net
/
sctp
/
outqueue.c
diff --git
a/net/sctp/outqueue.c
b/net/sctp/outqueue.c
index a7ba9e146dff9e3ba1c7de3a4cda1d74b06dc694..59edfd25a19c3ca08a1158b32947fabc53e34cf9 100644
(file)
--- a/
net/sctp/outqueue.c
+++ b/
net/sctp/outqueue.c
@@
-1532,6
+1532,8
@@
static void sctp_check_transmitted(struct sctp_outq *q,
bytes_acked);
transport->flight_size -= bytes_acked;
+ if (transport->flight_size == 0)
+ transport->partial_bytes_acked = 0;
q->outstanding_bytes -= bytes_acked;
} else {
/* RFC 2960 6.1, sctpimpguide-06 2.15.2
This page took
0.034168 seconds
and
5
git commands to generate.