Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/tcp_usrreq.c
Show First 20 Lines • Show All 2,137 Lines • ▼ Show 20 Lines | case TCP_CONGESTION: | ||||
* The only reason init should fail is | * The only reason init should fail is | ||||
* because of malloc. | * because of malloc. | ||||
*/ | */ | ||||
error = ENOMEM; | error = ENOMEM; | ||||
} | } | ||||
INP_WUNLOCK(inp); | INP_WUNLOCK(inp); | ||||
break; | break; | ||||
case TCP_REUSPORT_LB_NUMA: | |||||
INP_WUNLOCK(inp); | |||||
error = sooptcopyin(sopt, &optval, sizeof(optval), | |||||
sizeof(optval)); | |||||
INP_WLOCK_RECHECK(inp); | |||||
if (!error) | |||||
error = in_pcblbgroup_numa(inp, optval); | |||||
INP_WUNLOCK(inp); | |||||
break; | |||||
#ifdef KERN_TLS | #ifdef KERN_TLS | ||||
case TCP_TXTLS_ENABLE: | case TCP_TXTLS_ENABLE: | ||||
INP_WUNLOCK(inp); | INP_WUNLOCK(inp); | ||||
error = copyin_tls_enable(sopt, &tls); | error = copyin_tls_enable(sopt, &tls); | ||||
if (error) | if (error) | ||||
break; | break; | ||||
error = ktls_enable_tx(so, &tls); | error = ktls_enable_tx(so, &tls); | ||||
break; | break; | ||||
▲ Show 20 Lines • Show All 805 Lines • Show Last 20 Lines |