virtio: flush buffers on open
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 5 Feb 2008 04:50:07 +0000 (23:50 -0500)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 4 Feb 2008 12:50:07 +0000 (23:50 +1100)
Fix bug found by Christian Borntraeger: if the other side fills all
the registered network buffers before we enable NAPI, we will never
get an interrupt.  The simplest fix is to process the input queue once
on open.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

No differences found