Page MenuHomeFreeBSD

D36626.id110724.diff
No OneTemporary

D36626.id110724.diff

diff --git a/sys/netinet/tcp_output.c b/sys/netinet/tcp_output.c
--- a/sys/netinet/tcp_output.c
+++ b/sys/netinet/tcp_output.c
@@ -338,10 +338,10 @@
len = ((int32_t)ulmin(cwin,
SEQ_SUB(p->end, p->rxmit)));
}
- off = SEQ_SUB(p->rxmit, tp->snd_una);
- KASSERT(off >= 0,("%s: sack block to the left of una : %d",
- __func__, off));
if (len > 0) {
+ off = SEQ_SUB(p->rxmit, tp->snd_una);
+ KASSERT(off >= 0,("%s: sack block to the left of una : %d",
+ __func__, off));
sack_rxmit = 1;
sendalot = 1;
TCPSTAT_INC(tcps_sack_rexmits);

File Metadata

Mime Type
text/plain
Expires
Wed, Apr 8, 9:34 PM (9 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31080582
Default Alt Text
D36626.id110724.diff (575 B)

Event Timeline