[Lguest] [kvm-devel] [PATCH 3/6] virtio net driver

Rusty Russell rusty at rustcorp.com.au
Sun Sep 23 17:13:50 EST 2007


On Fri, 2007-09-21 at 16:42 +0200, Christian Borntraeger wrote:
> Am Freitag, 21. September 2007 schrieb Herbert Xu:
> > Please don't use LLTX in new drivers.  We're trying to get rid
> > of it since it's
> > 
> > 1) unnecessary;
> > 2) causes problems with AF_PACKET seeing things twice.
> 
> Ok, but then I cannot reuse the xmit lock in an interrupt handler. Otherwise 
> deadlock can occur because hard_start_xmit has interrupts enabled. 
> 
> Rusty, seems we need an additional lock.

Can we use a tasklet?  Seems like it'd be safe at a glance...

Thanks,
Rusty.




More information about the Lguest mailing list