Re: [PATCH 3/6] virtio net driver

Rusty Russell
2007-09-23T07:13:50Z

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.