Pablo Neira <pablo@eurodev.net> wrote: > > So I made a patch which uses a kernel thread to fix this problem. In > sendmsg(), instead of calling sk->sk_data_ready, we enqueue all the > request and kernel thread processes them. I don't like this at all. Previously netlink requests had overhead comparable to that of an ioctl. Now you've added two full context switches to it. There's gotta be a better way to fix this dead-lock. -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html