commit | a48bd8f67003c342e147309a331f656a5e75a5e4 | [log] [tgz] |
---|---|---|
author | Rusty Russell <rusty@rustcorp.com.au> | Mon Feb 04 23:50:07 2008 -0500 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Mon Feb 04 23:50:07 2008 +1100 |
tree | 30ab7e3b1763a526dbc1610960bcb5aa9c88dec5 | |
parent | e70f2f1bb8c8cf08ba0d836466f77eea27dd3474 [diff] |
virtio: flush buffers on open 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>