On Fri, Oct 20, 2023 at 10:48 AM Maxime Coquelin <maxime.coque...@redhat.com> wrote: > > Li Feng initially reported segmentation fault in rte_vhost_vring_call() > because of not checking the virtqueue metadata can be accessed. > > This should be achieved by checking the access_ok status field of > the virtqueue. > > This series also takes the opportunity to fix the other APIs. > This is split in multiple patches to ease LTS maintainers backports, > but could be squashed if preferred.
As a followup on this topic, I took some time to annotate this code around access_ok/access_lock. For those interested: https://patchwork.dpdk.org/project/dpdk/list/?series=29950&state=%2A&archive=both -- David Marchand