Page MenuHomeFreeBSD

D34332.diff
No OneTemporary

D34332.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
@@ -6258,11 +6258,11 @@
rack_timeout_persist(struct tcpcb *tp, struct tcp_rack *rack, uint32_t cts)
{
struct tcptemp *t_template;
- struct inpcb *inp;
+#ifdef INVARIANTS
+ struct inpcb *inp = tp->t_inpcb;
+#endif
int32_t retval = 1;
- inp = tp->t_inpcb;
-
if (tp->t_timers->tt_flags & TT_STOPPED) {
return (1);
}
@@ -16217,7 +16217,7 @@
}
if (rack->r_ctl.fsb.rfo_apply_push &&
(len == rack->r_ctl.fsb.left_to_send)) {
- tcp_set_flags(th, flags | TH_PUSH);
+ flags |= TH_PUSH;
add_flag |= RACK_HAD_PUSH;
}
if ((m->m_next == NULL) || (len <= 0)){

File Metadata

Mime Type
text/plain
Expires
Mon, Jan 13, 1:18 AM (21 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15774515
Default Alt Text
D34332.diff (727 B)

Event Timeline