Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109435889
D35423.id106737.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
498 B
Referenced Files
None
Subscribers
None
D35423.id106737.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
@@ -956,7 +956,9 @@
INP_WLOCK_ASSERT(tp->t_inpcb);
*sack_bytes_rexmt = tp->sackhint.sack_bytes_rexmit;
hole = tp->sackhint.nexthole;
- if (hole == NULL || SEQ_LT(hole->rxmit, hole->end))
+ if (hole == NULL)
+ return (hole);
+ if (SEQ_LT(hole->rxmit, hole->end))
goto out;
while ((hole = TAILQ_NEXT(hole, scblink)) != NULL) {
if (SEQ_LT(hole->rxmit, hole->end)) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Feb 6, 1:03 AM (7 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16481812
Default Alt Text
D35423.id106737.diff (498 B)
Attached To
Mode
D35423: tcp: skip sackhole checks on NULL
Attached
Detach File
Event Timeline
Log In to Comment