Re: [RFC] udp_err compliance: RFC1122 vs. BSD

From: Andi Kleen (ak@suse.de)
Date: Sun Oct 08 2000 - 20:34:46 EST


On Mon, Oct 09, 2000 at 03:17:04AM +0200, Martin Diehl wrote:
> Well, taken together, this doesn't seem to be a big thing to do - probably
> above is a little bit of overkill. Anyway, it would remove two bugs by one
> patch (by allowing to choose which one to have ;-)
>
> Comments? Suggestions? Objetions?

RFC1122 compliant reporting does not really make too much sense with
IP_RECVERR because you never know where the error came from. The only
reason to keep the report-all-errors-without-connect linux policy
would be backwards compatibility to older Linux. I think using sysctls
for such application private things are the wrong approach, because they're
too global and fix one thing and break another. So on further thought
it is probably best to keep the current 2.4 behaviour and fix applications
to use IP_RECVERR as appropiate.

-Andi
-
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 : Sun Oct 15 2000 - 21:00:11 EST