MFC r258821 - fix tcp simultaneous close

PR:             kern/99188


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/4@260423 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revert MFC of r258821


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/4@260439 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f