Yes for the application, but not for the kernel. The kernel should
not make any assumptions about the reason for a RST.
Can you just picture if we implement what you are suggesting? Now
every single outgoing connection to a non-existant port or for any
other reason that returns a RST will have two complete connect cycles.
That's bad behavior and will not be tolerated.
On top of that, we would have to maintain extra state to decide
whether the previous request was a SYN with ECN or some other scenario
to avoid reacting to every RST we get. Unnecessary bloat!
> > Using it as a metric for ECN enabling is thus unacceptable.
>
> Why? The connection is dead, but there is nothing to prevent attempting
> another connection.
I fully support David Miller on this issue. Let Linux lead the path
to full adoption of ECN, and we'll all be better for it in the long
run.
Drago
-
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/