Fix cases where the TFO pending counter would leak references, and eventually, memory.
authorpkelsey <pkelsey@FreeBSD.org>
Sat, 15 Oct 2016 01:41:28 +0000 (01:41 +0000)
committerpkelsey <pkelsey@FreeBSD.org>
Sat, 15 Oct 2016 01:41:28 +0000 (01:41 +0000)
commitc8c04b1d3408aa688023dc125c80f931dd117564
tree206a044004a44bba922d90f2b36376c7b5229711
parent1a0d1346386e8813c84ec8acdc41a54f6d68c9f9
Fix cases where the TFO pending counter would leak references, and eventually, memory.

Also renamed some tfo labels and added/reworked comments for clarity.

Based on an initial patch from jtl.

PR: 213424
Reviewed by: jtl
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D8235
sys/netinet/tcp_input.c
sys/netinet/tcp_syncache.c