Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/tcp_subr.c
Show First 20 Lines • Show All 2,165 Lines • ▼ Show 20 Lines | if ((*tp->t_fb->tfb_tcp_fb_init)(tp)) { | ||||
uma_zfree(V_tcpcb_zone, tm); | uma_zfree(V_tcpcb_zone, tm); | ||||
return (NULL); | return (NULL); | ||||
} | } | ||||
} | } | ||||
#ifdef STATS | #ifdef STATS | ||||
if (V_tcp_perconn_stats_enable == 1) | if (V_tcp_perconn_stats_enable == 1) | ||||
tp->t_stats = stats_blob_alloc(V_tcp_perconn_stats_dflt_tpl, 0); | tp->t_stats = stats_blob_alloc(V_tcp_perconn_stats_dflt_tpl, 0); | ||||
#endif | #endif | ||||
if (V_tcp_do_lrd) | |||||
tp->t_flags |= TF_LRD; | |||||
return (tp); /* XXX */ | return (tp); /* XXX */ | ||||
} | } | ||||
/* | /* | ||||
* Switch the congestion control algorithm back to NewReno for any active | * Switch the congestion control algorithm back to NewReno for any active | ||||
* control blocks using an algorithm which is about to go away. | * control blocks using an algorithm which is about to go away. | ||||
* This ensures the CC framework can allow the unload to proceed without leaving | * This ensures the CC framework can allow the unload to proceed without leaving | ||||
* any dangling pointers which would trigger a panic. | * any dangling pointers which would trigger a panic. | ||||
▲ Show 20 Lines • Show All 1,904 Lines • Show Last 20 Lines |