mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Add a comment for easier code understanding.
This commit is contained in:
parent
2661328745
commit
76504ce978
1 changed files with 5 additions and 0 deletions
|
|
@ -275,6 +275,11 @@ tcp_twstart(struct tcpcb *tp)
|
|||
|
||||
tw = uma_zalloc(V_tcptw_zone, M_NOWAIT);
|
||||
if (tw == NULL) {
|
||||
/*
|
||||
* Reached limit on total number of TIMEWAIT connections
|
||||
* allowed. Remove a connection from TIMEWAIT queue in LRU
|
||||
* fashion to make room for this connection.
|
||||
*/
|
||||
tw = tcp_tw_2msl_reuse();
|
||||
if (tw == NULL) {
|
||||
tp = tcp_close(tp);
|
||||
|
|
|
|||
Loading…
Reference in a new issue