summaryrefslogtreecommitdiffstats
path: root/sys/netatalk
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2006-08-02 16:18:05 +0000
committerrwatson <rwatson@FreeBSD.org>2006-08-02 16:18:05 +0000
commit6b1ac9e903103d45d09ca423857dfbfa987d11d7 (patch)
treedf26127afc16f3a9d63b6725fbd2323b53fa1e3e /sys/netatalk
parent70c20770c028d13d688eb1e7b4e45395a06624d5 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud