DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Vhost: fix FD leaks and improve logs
@ 2023-02-07 16:22 Maxime Coquelin
  2023-02-07 16:22 ` [PATCH v3 1/2] vhost: fix possible FDs leak Maxime Coquelin
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Maxime Coquelin @ 2023-02-07 16:22 UTC (permalink / raw)
  To: dev, david.marchand, chenbo.xia; +Cc: Maxime Coquelin

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-02-09 12:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-07 16:22 [PATCH v3 0/2] Vhost: fix FD leaks and improve logs Maxime Coquelin
2023-02-07 16:22 ` [PATCH v3 1/2] vhost: fix possible FDs leak Maxime Coquelin
2023-02-07 16:22 ` [PATCH v3 2/2] vhost: fix possible FD leaks on truncation Maxime Coquelin
2023-02-09 12:13 ` [PATCH v3 0/2] Vhost: fix FD leaks and improve logs Maxime Coquelin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).