Messages in this thread | | | Date | Sun, 20 Feb 2000 13:36:38 -0800 | From | "David S. Miller" <> | Subject | Re: IP changes in 2.3.4x make things wierd? |
| |
Date: Sun, 20 Feb 2000 21:33:31 +0000 (GMT) From: Alan Cox <alan@lxorguk.ukuu.org.uk>
Ok IP_RCVERR seems to help. Except of course that its not back compatible, while the SO_BSDCOMPAT option is very much so and if the libc folks have been paying attention is automatic for code built FAVOUR_BSD.
We should rename it to SO_GIVE_ME_RANDOM_ERRORS_FROM_OTHER_SOCKETS
glibc doesn't use IP_RECVERR nor do the NIS libraries. If we make this change the C libraries will need fixing, and for some dialup configurations libc5 will also need fixing really.
Actually it seems people should fix their configurations. Every problem I have seen reported is of the form "I have X enabled in nsswitch.conf (or wherever it is done) when I don't even have these network services available at all".
So why not use the existing API SO_BSDCOMPAT option. Its been there for four years and doesn't break back compatibility of the BSD cases.
Let's allow Alexey to comment further first.
Later, David S. Miller davem@redhat.com
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |