Add a comment for easier code understanding.

This commit is contained in:
Hiren Panchasara 2014-08-04 19:42:48 +00:00
parent 2661328745
commit 76504ce978

View file

@ -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);