[PATCH 1/1] vhost: Move fds outside of VhostUserMessage
    Maxime Coquelin 
    maxime.coquelin at redhat.com
       
    Fri Feb  4 13:21:39 CET 2022
    
    
  
Hi Christophe,
On 1/23/22 12:59, Christophe Fontaine wrote:
> 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 <cfontain at redhat.com>
> ---
>   drivers/net/virtio/virtio_user/vhost_user.c |   1 -
>   lib/vhost/vhost_crypto.c                    |  10 +-
>   lib/vhost/vhost_user.c                      | 529 ++++++++++----------
>   lib/vhost/vhost_user.h                      |   7 +-
>   4 files changed, 288 insertions(+), 259 deletions(-)
I was about to apply your patch, but it conflicts with previous patches
applied.
Could you please rebase it and post a new revision?
Thanks in advance,
Maxime
    
    
More information about the dev
mailing list