On 2/7/22 11:21, Christophe Fontaine wrote:
From: Christophe Fontaine <[email protected]>

FDs at the end of the VhostUserMessage structure limits the size
of the payload. Move them to an other englobing structure, before
the header & payload of a VhostUserMessage.
Also removes a reference to fds in the VHUMsg structure defined in
drivers/net/virtio/virtio_user/vhost_user.c

Signed-off-by: Christophe Fontaine <[email protected]>
---
  drivers/net/virtio/virtio_user/vhost_user.c |   1 -
  lib/vhost/vhost_crypto.c                    |  10 +-
  lib/vhost/vhost_user.c                      | 534 ++++++++++----------
  lib/vhost/vhost_user.h                      |   7 +-
  4 files changed, 290 insertions(+), 262 deletions(-)


Reviewed-by: Maxime Coquelin <[email protected]>

Thanks,
Maxime

Reply via email to