Stefan Rompf <[EMAIL PROTECTED]> wrote: > > Yes, the code has quite some trust into the kernel that if it answers the > asked question the answer is semantically correct. But to be fair, if you > issue a write(), you also expect the number of bytes written in return and > not the msec taken ;-) Will fix that and the other stuff you pointed out, > thanks!
I hope you checked that the message is really from the kernel (based on saddr). Unconnected sockets can receive messages from any user on the host. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html