rwatson 6b1ac9e903 Move soisdisconnected() in tcp_discardcb() to one of its calling contexts,
tcp_twstart(), but not to the other, tcp_detach(), as the socket is
already being torn down and therefore there are no listeners.  This avoids
a panic if kqueue state is registered on the socket at close(), and
eliminates to XXX comments.  There is one case remaining in which
tcp_discardcb() reaches up to the socket layer as part of the TCP host
cache, which would be good to avoid.

Reported by:	Goran Gajic <ggajic at afrodita dot rcub dot bg dot ac dot yu>
2006-08-02 16:18:05 +00:00
..
2005-10-21 16:23:01 +00:00
2005-08-26 15:27:18 +00:00
2006-01-21 10:44:34 +00:00
2006-03-20 21:44:12 +00:00
2006-07-06 13:25:01 +00:00
2006-06-29 13:38:36 +00:00