Page MenuHomeFreeBSD

D39690.diff
No OneTemporary

D39690.diff

diff --git a/sys/netinet/tcp_stacks/rack.c b/sys/netinet/tcp_stacks/rack.c
--- a/sys/netinet/tcp_stacks/rack.c
+++ b/sys/netinet/tcp_stacks/rack.c
@@ -16497,6 +16497,15 @@
* anything becase a pacing timer is running.
*/
us_cts = tcp_tv_to_usectick(tv);
+ if (m->m_flags & M_ACKCMP) {
+ /*
+ * All compressed ack's are ack's by definition so
+ * remove any ack required flag and then do the processing.
+ */
+ rack->rc_ack_required = 0;
+ return (rack_do_compressed_ack_processing(tp, so, m, nxt_pkt, tv));
+ }
+ thflags = tcp_get_flags(th);
if ((rack->rc_always_pace == 1) &&
(rack->rc_ack_can_sendout_data == 0) &&
(rack->r_ctl.rc_hpts_flags & PACE_PKT_OUTPUT) &&
@@ -16539,15 +16548,6 @@
no_output = 0;
}
}
- if (m->m_flags & M_ACKCMP) {
- /*
- * All compressed ack's are ack's by definition so
- * remove any ack required flag and then do the processing.
- */
- rack->rc_ack_required = 0;
- return (rack_do_compressed_ack_processing(tp, so, m, nxt_pkt, tv));
- }
- thflags = tcp_get_flags(th);
/*
* If there is a RST or FIN lets dump out the bw
* with a FIN the connection may go on but we

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 20, 5:14 AM (21 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14730920
Default Alt Text
D39690.diff (1 KB)

Event Timeline