Changeset View
Changeset View
Standalone View
Standalone View
head/sys/netinet/tcp_subr.c
Show First 20 Lines • Show All 1,777 Lines • ▼ Show 20 Lines | #ifdef TCPPCAP | ||||
* Init the TCP PCAP queues. | * Init the TCP PCAP queues. | ||||
*/ | */ | ||||
tcp_pcap_tcpcb_init(tp); | tcp_pcap_tcpcb_init(tp); | ||||
#endif | #endif | ||||
#ifdef TCP_BLACKBOX | #ifdef TCP_BLACKBOX | ||||
/* Initialize the per-TCPCB log data. */ | /* Initialize the per-TCPCB log data. */ | ||||
tcp_log_tcpcbinit(tp); | tcp_log_tcpcbinit(tp); | ||||
#endif | #endif | ||||
tp->t_pacing_rate = -1; | |||||
if (tp->t_fb->tfb_tcp_fb_init) { | if (tp->t_fb->tfb_tcp_fb_init) { | ||||
if ((*tp->t_fb->tfb_tcp_fb_init)(tp)) { | if ((*tp->t_fb->tfb_tcp_fb_init)(tp)) { | ||||
refcount_release(&tp->t_fb->tfb_refcnt); | refcount_release(&tp->t_fb->tfb_refcnt); | ||||
in_pcbrele_wlocked(inp); | in_pcbrele_wlocked(inp); | ||||
uma_zfree(V_tcpcb_zone, tm); | uma_zfree(V_tcpcb_zone, tm); | ||||
return (NULL); | return (NULL); | ||||
} | } | ||||
} | } | ||||
▲ Show 20 Lines • Show All 1,713 Lines • Show Last 20 Lines |