Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F157013031
D42180.id128689.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D42180.id128689.diff
View Options
diff --git a/sys/netinet/tcp_sack.c b/sys/netinet/tcp_sack.c
--- a/sys/netinet/tcp_sack.c
+++ b/sys/netinet/tcp_sack.c
@@ -888,10 +888,10 @@
while ((q = TAILQ_FIRST(&tp->snd_holes)) != NULL)
tcp_sackhole_remove(tp, q);
tp->sackhint.sack_bytes_rexmit = 0;
- tp->sackhint.sacked_bytes = 0;
tp->sackhint.delivered_data = 0;
- tp->sackhint.lost_bytes = 0;
+ tp->sackhint.sacked_bytes = 0;
tp->sackhint.hole_bytes = 0;
+ tp->sackhint.lost_bytes = 0;
KASSERT(tp->snd_numholes == 0, ("tp->snd_numholes == 0"));
KASSERT(tp->sackhint.nexthole == NULL,
diff --git a/sys/netinet/tcp_var.h b/sys/netinet/tcp_var.h
--- a/sys/netinet/tcp_var.h
+++ b/sys/netinet/tcp_var.h
@@ -128,8 +128,8 @@
uint32_t recover_fs; /* Flight Size at the start of Loss recovery */
uint32_t prr_delivered; /* Total bytes delivered using PRR */
uint32_t prr_out; /* Bytes sent during IN_RECOVERY */
- uint32_t hole_bytes; /* current number of bytes in scoreboard holes */
- uint32_t lost_bytes; /* number of rfc6675 IsLost() bytes */
+ int32_t hole_bytes; /* current number of bytes in scoreboard holes */
+ int32_t lost_bytes; /* number of rfc6675 IsLost() bytes */
};
#define SEGQ_EMPTY(tp) TAILQ_EMPTY(&(tp)->t_segq)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, May 18, 11:07 PM (7 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33233126
Default Alt Text
D42180.id128689.diff (1 KB)
Attached To
Mode
D42180: tcp: make IsLost() related accounting variables signed
Attached
Detach File
Event Timeline
Log In to Comment