Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src



>Module Name:   src
>Committed By:  he
>Date:          Sun Jul 20 16:35:12 UTC 2003
>
>Modified Files:
>       src/sys/netinet: tcp_input.c tcp_subr.c tcp_timer.c tcp_var.h
>       src/usr.bin/netstat: inet.c
>
>Log Message:
>As a temporary workaround, apply the fix from PR#20390, thereby
>cooperating with the callout code in working around the race
>condition caused by the TCP code's use of the callout facility.
>
>Instead of unconditionally releasing memory in tcp_close() and
>SYN_CACHE_PUT(), check whether any of the related callout handlers
>are about to be invoked (but have not yet done callout_ack()), and
>if so, just mark the associated data structure (tcpcb or syn cache
>entry) as "dead", and test for this (and release storage) in the
>callout handler functions.

        i don't see decls of callout_{ack,invoking} anywhere.  please commit
        the relevant change (in sys/kern?).

itojun



Home | Main Index | Thread Index | Old Index