[PATCH v3 0/2] Vhost: fix FD leaks and improve logs
Maxime Coquelin
maxime.coquelin at redhat.com
Tue Feb 7 17:22:38 CET 2023
This two-patches series fix possible FD leaks when
receiving Vhost-user messages fails. It also improve
logging by differentiating message's buffer truncation
and control data truncation.
Changes in v3:
==============
- Improve logs on error (David)
Maxime Coquelin (2):
vhost: fix possible FDs leak
vhost: fix possible FD leaks on truncation
lib/vhost/socket.c | 8 +++++---
lib/vhost/vhost_user.c | 40 ++++++++++++++++++++++++++--------------
2 files changed, 31 insertions(+), 17 deletions(-)
--
2.39.1
More information about the dev
mailing list