[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lguest
Subject:    [Lguest] [PATCH 4/5] lguest: use KVM hypercalls
From:       herbert () gondor ! apana ! org ! au (Herbert Xu)
Date:       2009-04-15 22:27:38
Message-ID: 20090415222738.GA15792 () gondor ! apana ! org ! au
[Download RAW message or body]

On Wed, Apr 15, 2009 at 07:56:42AM -0700, Eric W. Biederman wrote:
>
> I still have the feeling that putting the socket in tun_file instead
> of in tun_struct might be conceptually cleaner, but one big blob that
> is allocated and destroyed together is certainly easier and a lot
> less racy to deal with.

As I said the difficulty with putting the socket in tun_file
is how do you get it on the RX callback path without introducing
new races.

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert at gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic