commit | 8caf911d3316b6eccc503cff0d9a68cf922950f1 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Fri Jul 08 17:28:34 2016 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Wed Jul 13 13:30:00 2016 +0200 |
tree | ee13b636f718e650c665bbbeecfc9f39b45ad710 | |
parent | f6c2e66ae8c8a03d3044dc9054aa7c16e7f817ee [diff] |
net: do not use atexit for cleanup This will be necessary in the next patch, which stops using atexit for character devices; without it, vhost-user and the redirector filter will cause a use-after-free. Relying on the ordering of atexit calls is also brittle, even now that both the network and chardev subsystems are using atexit. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>