mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
No longer mark TCP TW zone NO_FREE.
Timewait code does a proper cleanup after itself. Reviewed by: gnn Approved by: re (gjb) Obtained from: projects/vnet MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D6922
This commit is contained in:
parent
722bc9c00b
commit
252a46f324
1 changed files with 1 additions and 1 deletions
|
|
@ -186,7 +186,7 @@ tcp_tw_init(void)
|
|||
{
|
||||
|
||||
V_tcptw_zone = uma_zcreate("tcptw", sizeof(struct tcptw),
|
||||
NULL, NULL, NULL, NULL, UMA_ALIGN_PTR, UMA_ZONE_NOFREE);
|
||||
NULL, NULL, NULL, NULL, UMA_ALIGN_PTR, 0);
|
||||
TUNABLE_INT_FETCH("net.inet.tcp.maxtcptw", &maxtcptw);
|
||||
if (maxtcptw == 0)
|
||||
uma_zone_set_max(V_tcptw_zone, tcptw_auto_size());
|
||||
|
|
|
|||
Loading…
Reference in a new issue