tech-net archive

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

Re: race between tcp_close and delack?



> Problem: we check if a timer is being invoked with tcp_timers_invoking(),
> but this forgets the t_delack_ch timer.
Sorry, I don't understand. I may be stupid, but tcp_timers_invoking() reads

        for (i = 0; i < TCPT_NTIMERS; i++)
                if (callout_invoking(&tp->t_timer[i]))
                        count++;
        if (callout_invoking(&tp->t_delack_ch))
                count++;

so I'm under the impression it does care about t_delack_ch.



Home | Main Index | Thread Index | Old Index