On Tue, Apr 14, 2009 at 01:54:30PM +0200, Patrick McHardy wrote: > > I see. How about this patch instead? It moves the sk_sleep assignment > to tun_attach, after the permission checks took place. Thanks for pointing out this gaping hole in my patch. I think it may be better to remove read_wait altogether and just use socket.wait in tun_struct. Let me whip up a patch. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt _______________________________________________ Virtualization mailing list Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/virtualization