Print this page
1426 1361 missed two codepaths

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/inet/tcp/tcp.c
          +++ new/usr/src/uts/common/inet/tcp/tcp.c
↓ open down ↓ 2220 lines elided ↑ open up ↑
2221 2221          ASSERT(tcp->tcp_eager_last_q == NULL);
2222 2222          ASSERT((tcp->tcp_eager_next_q0 == NULL &&
2223 2223              tcp->tcp_eager_prev_q0 == NULL) ||
2224 2224              tcp->tcp_eager_next_q0 == tcp->tcp_eager_prev_q0);
2225 2225          ASSERT(tcp->tcp_conn.tcp_eager_conn_ind == NULL);
2226 2226  
2227 2227          ASSERT((tcp->tcp_eager_next_drop_q0 == NULL &&
2228 2228              tcp->tcp_eager_prev_drop_q0 == NULL) ||
2229 2229              tcp->tcp_eager_next_drop_q0 == tcp->tcp_eager_prev_drop_q0);
2230 2230  
     2231 +        DONTCARE(tcp->tcp_ka_rinterval);        /* Init in tcp_init_values */
     2232 +        DONTCARE(tcp->tcp_ka_ka_abort_thres);   /* Init in tcp_init_values */
     2233 +        DONTCARE(tcp->tcp_ka_ka_cnt);           /* Init in tcp_init_values */
     2234 +
2231 2235          tcp->tcp_client_errno = 0;
2232 2236  
2233 2237          DONTCARE(connp->conn_sum);              /* Init in tcp_init_values */
2234 2238  
2235 2239          connp->conn_faddr_v6 = ipv6_all_zeros;  /* Displayed in MIB */
2236 2240  
2237 2241          PRESERVE(connp->conn_bound_addr_v6);
2238 2242          tcp->tcp_last_sent_len = 0;
2239 2243          tcp->tcp_dupack_cnt = 0;
2240 2244  
↓ open down ↓ 136 lines elided ↑ open up ↑
2377 2381                  tcp->tcp_first_timer_threshold =
2378 2382                      parent->tcp_first_timer_threshold;
2379 2383                  tcp->tcp_second_timer_threshold =
2380 2384                      parent->tcp_second_timer_threshold;
2381 2385  
2382 2386                  tcp->tcp_fin_wait_2_flush_interval =
2383 2387                      parent->tcp_fin_wait_2_flush_interval;
2384 2388  
2385 2389                  tcp->tcp_ka_interval = parent->tcp_ka_interval;
2386 2390                  tcp->tcp_ka_abort_thres = parent->tcp_ka_abort_thres;
     2391 +                tcp->tcp_ka_cnt = parent->tcp_ka_cnt;
     2392 +                tcp->tcp_ka_rinterval = parent->tcp_ka_rinterval;
2387 2393  
2388 2394                  tcp->tcp_init_cwnd = parent->tcp_init_cwnd;
2389 2395          }
2390 2396  
2391 2397          /*
2392 2398           * Initialize tcp_rtt_sa and tcp_rtt_sd so that the calculated RTO
2393 2399           * will be close to tcp_rexmit_interval_initial.  By doing this, we
2394 2400           * allow the algorithm to adjust slowly to large fluctuations of RTT
2395 2401           * during first few transmissions of a connection as seen in slow
2396 2402           * links.
↓ open down ↓ 2071 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX