mbox

[v2,0/2] Vhost: fix FD leaks and improve logs

Message ID 20230127165540.37863-1-maxime.coquelin@redhat.com (mailing list archive)
Headers

Message

Maxime Coquelin Jan. 27, 2023, 4:55 p.m. UTC
  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.

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 | 23 +++++++++++++++--------
 2 files changed, 20 insertions(+), 11 deletions(-)