On 12/27/2012 02:39 PM, Jason Wang wrote:
Currently, polling error were ignored in vhost. This may lead some issues (e.g
kenrel crash when passing a tap fd to vhost before calling TUNSETIFF). Fix
this
by:
Can this kernel crash be reproduced by hand?
Thanks,
Wanlong Gao
- extend the idea
On 12/27/2012 06:01 PM, Wanlong Gao wrote:
On 12/27/2012 02:39 PM, Jason Wang wrote:
Currently, polling error were ignored in vhost. This may lead some issues
(e.g
kenrel crash when passing a tap fd to vhost before calling TUNSETIFF). Fix
this
by:
Can this kernel crash be reproduced
Currently, polling error were ignored in vhost. This may lead some issues (e.g
kenrel crash when passing a tap fd to vhost before calling TUNSETIFF). Fix this
by:
- extend the idea of vhost_net_poll_state to all vhost_polls
- change the state only when polling is succeed
- make vhost_poll_start()