Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/tcp_usrreq.c
Show First 20 Lines • Show All 1,704 Lines • ▼ Show 20 Lines | if (blk->tfb_flags & TCP_FUNC_BEING_REMOVED) { | ||||
refcount_release(&blk->tfb_refcnt); | refcount_release(&blk->tfb_refcnt); | ||||
INP_WUNLOCK(inp); | INP_WUNLOCK(inp); | ||||
return (ENOENT); | return (ENOENT); | ||||
} | } | ||||
/* | /* | ||||
* Ensure the new stack takes ownership with a | * Ensure the new stack takes ownership with a | ||||
* clean slate on peak rate threshold. | * clean slate on peak rate threshold. | ||||
*/ | */ | ||||
tp->t_peakrate_thr = 0; | |||||
#ifdef TCPHPTS | #ifdef TCPHPTS | ||||
/* Assure that we are not on any hpts */ | /* Assure that we are not on any hpts */ | ||||
tcp_hpts_remove(tptoinpcb(tp)); | tcp_hpts_remove(tptoinpcb(tp)); | ||||
#endif | #endif | ||||
if (blk->tfb_tcp_fb_init) { | if (blk->tfb_tcp_fb_init) { | ||||
error = (*blk->tfb_tcp_fb_init)(tp, &ptr); | error = (*blk->tfb_tcp_fb_init)(tp, &ptr); | ||||
if (error) { | if (error) { | ||||
/* | /* | ||||
▲ Show 20 Lines • Show All 1,392 Lines • Show Last 20 Lines |