diff options
author | rwatson <rwatson@FreeBSD.org> | 2006-08-02 16:18:05 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2006-08-02 16:18:05 +0000 |
commit | 6b1ac9e903103d45d09ca423857dfbfa987d11d7 (patch) | |
tree | df26127afc16f3a9d63b6725fbd2323b53fa1e3e /sys/netatalk | |
parent | 70c20770c028d13d688eb1e7b4e45395a06624d5 (diff) | |
download | FreeBSD-src-6b1ac9e903103d45d09ca423857dfbfa987d11d7.zip FreeBSD-src-6b1ac9e903103d45d09ca423857dfbfa987d11d7.tar.gz |
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>
Diffstat (limited to 'sys/netatalk')
0 files changed, 0 insertions, 0 deletions