Changeset View
Changeset View
Standalone View
Standalone View
stable/11/sys/netinet/tcp_subr.c
Show First 20 Lines • Show All 1,205 Lines • ▼ Show 20 Lines | if (khelp_init_osd(HELPER_CLASS_TCP, tp->osd)) { | ||||
uma_zfree(V_tcpcb_zone, tm); | uma_zfree(V_tcpcb_zone, tm); | ||||
return (NULL); | return (NULL); | ||||
} | } | ||||
#ifdef VIMAGE | #ifdef VIMAGE | ||||
tp->t_vnet = inp->inp_vnet; | tp->t_vnet = inp->inp_vnet; | ||||
#endif | #endif | ||||
tp->t_timers = &tm->tt; | tp->t_timers = &tm->tt; | ||||
/* LIST_INIT(&tp->t_segq); */ /* XXX covered by M_ZERO */ | TAILQ_INIT(&tp->t_segq); | ||||
tp->t_maxseg = | tp->t_maxseg = | ||||
#ifdef INET6 | #ifdef INET6 | ||||
isipv6 ? V_tcp_v6mssdflt : | isipv6 ? V_tcp_v6mssdflt : | ||||
#endif /* INET6 */ | #endif /* INET6 */ | ||||
V_tcp_mssdflt; | V_tcp_mssdflt; | ||||
/* Set up our timeouts. */ | /* Set up our timeouts. */ | ||||
callout_init(&tp->t_timers->tt_rexmt, 1); | callout_init(&tp->t_timers->tt_rexmt, 1); | ||||
▲ Show 20 Lines • Show All 1,539 Lines • Show Last 20 Lines |