tcp: Dispatch tcp_drain to netisrs to run
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Mon, 8 Sep 2014 11:46:28 +0000 (19:46 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Mon, 8 Sep 2014 11:46:28 +0000 (19:46 +0800)
commit7442cbe0e22d6d66beb54b1931a480be48cf1455
treecb5ff3ba5997b2d15646e7f312703ce8051a58b1
parent2d1142198014c216eccccff4280c7b9ca04d1346
tcp: Dispatch tcp_drain to netisrs to run

- Avoid two extra M_WAITOK mallocs
- Simplify drain logic, since inpcb marker is no longer needed
sys/netinet/tcp_subr.c