commit | 5e9dd8524f7f7960e80125787e16f3ec8f258ddf | [log] [tgz] |
---|---|---|
author | Jean-Philippe Brucker <jean-philippe.brucker@arm.com> | Wed Apr 04 18:53:52 2018 +0100 |
committer | Will Deacon <will.deacon@arm.com> | Fri Apr 06 11:28:12 2018 +0100 |
tree | c840949c119c8ec3a6251b9fa959ce706cfad78c | |
parent | bbea6c7ad7f6f2dbcebfe21d301f9b1cb9687538 [diff] |
ioeventfd: Always add a new event to the list With vhost, the USER_POLL flags isn't passed to ioeventfd__add_event, the function returns early and doesn't add the new event to the used_ioevents list. As a result ioeventfd__del_event doesn't remove the KVM event or free the structure. Always add the event to the list. Signed-off-by: Jean-Philippe Brucker <jean-philippe.brucker@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>