[PATCH] vdpa/ifc: fix vhost message size check issue
Pei, Andy
andy.pei at intel.com
Mon Jul 4 04:29:42 CEST 2022
Hi Maxime,
Thanks for your effort.
> -----Original Message-----
> From: Maxime Coquelin <maxime.coquelin at redhat.com>
> Sent: Friday, July 1, 2022 9:55 PM
> To: Pei, Andy <andy.pei at intel.com>; dev at dpdk.org
> Cc: Xia, Chenbo <chenbo.xia at intel.com>; Xu, Rosen <rosen.xu at intel.com>;
> Xiao, QimaiX <qimaix.xiao at intel.com>
> Subject: Re: [PATCH] vdpa/ifc: fix vhost message size check issue
>
>
>
> On 6/21/22 15:46, Andy Pei wrote:
> > For vhost message VHOST_USER_GET_CONFIG, we do not check payload
> size
> > in vhost lib, we check payload size in driver specific ops.
> > For ifc vdpa driver, we just need to make sure payload size is not
> > smaller than sizeof(struct virtio_blk_config).
> >
> > Fixes: 856d03bcdc54 ("vdpa/ifc: add block operations")
> >
> > Signed-off-by: Andy Pei <andy.pei at intel.com>
> > ---
> > drivers/vdpa/ifc/ifcvf_vdpa.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
>
>
> Applied to dpdk-next-virtio/main.
>
> Thanks,
> Maxime
More information about the dev
mailing list