Re: Q: sock output serialization

From: Henner Eisen (eis@baty.hanse.de)
Date: Tue Sep 19 2000 - 15:48:45 EST


>>>>> "jamal" == jamal <hadi@cyberus.ca> writes:

    jamal> Packets in flight?

>> In the extreme case, there could still arrive up to the window
>> size frames.

    jamal> Assuming this depends on path latency and not some bad
    jamal> programming

Yes. Although the latter could also possible.

    jamal> BTW, earlier i lied: there is a way to tell if your packet
    jamal> will be dropped which is not very expensive:

    jamal> if (atomic_read(&netdev_dropping) /* packet will be
    jamal> dropped */

    jamal> but even this is 99% accurate in SMP.

Well, but better than knowing nothing about congestion state.
We could at least document in the x25iface.txt kernel doc that driver
authors should check this before acknowledging frames.

Henner

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 21:00:21 EST