numam-dpdk/examples
Maxime Coquelin a3258d2993 examples/vhost_scsi: move to safe GPA translation API
This patch uses the new rte_vhost_va_from_guest_pa() API
to ensure all the descriptor buffer is mapped contiguously
in the application virtual address space.

As the application did not checked return of previous API,
this patch just print an error if the buffer address isn't in
the vhost memory regions or if it is scattered. Ideally, it
should handle scattered buffers gracefully.

This issue has been assigned CVE-2018-1059.

Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2018-04-23 17:12:13 +02:00
..
bbdev_app fix ethdev port id validation 2018-04-18 00:37:05 +02:00
bond ethdev: deprecate port count function 2018-04-18 00:48:41 +02:00
cmdline examples/cmdline: convert to SPDX license tag 2018-02-13 23:30:52 +01:00
distributor ethdev: deprecate port count function 2018-04-18 00:48:41 +02:00
ethtool examples: add empty meson files for unsupported ones 2018-04-17 16:09:43 +02:00
eventdev_pipeline ethdev: deprecate port count function 2018-04-18 00:48:41 +02:00
exception_path ethdev: deprecate port count function 2018-04-18 00:48:41 +02:00
flow_classify ethdev: deprecate port count function 2018-04-18 00:48:41 +02:00
flow_filtering ethdev: deprecate port count function 2018-04-18 00:48:41 +02:00
helloworld build: replace license text with SPDX tag 2018-01-30 21:58:59 +01:00
ip_fragmentation ethdev: deprecate port count function 2018-04-18 00:48:41 +02:00
ip_pipeline fix ethdev port id validation 2018-04-18 00:37:05 +02:00
ip_reassembly ethdev: deprecate port count function 2018-04-18 00:48:41 +02:00
ipsec-secgw fix ethdev port id validation 2018-04-18 00:37:05 +02:00
ipv4_multicast ethdev: deprecate port count function 2018-04-18 00:48:41 +02:00
kni examples: disable unsupported examples on BSD build 2018-04-17 16:09:43 +02:00
l2fwd ethdev: deprecate port count function 2018-04-18 00:48:41 +02:00
l2fwd-cat examples/l2fwd-cat: make build dependent on pqos lib 2018-04-17 16:09:43 +02:00
l2fwd-crypto ethdev: deprecate port count function 2018-04-18 00:48:41 +02:00
l2fwd-jobstats ethdev: deprecate port count function 2018-04-18 00:48:41 +02:00
l2fwd-keepalive ethdev: deprecate port count function 2018-04-18 00:48:41 +02:00
l3fwd ethdev: deprecate port count function 2018-04-18 00:48:41 +02:00
l3fwd-acl ethdev: deprecate port count function 2018-04-18 00:48:41 +02:00
l3fwd-power examples: disable unsupported examples on BSD build 2018-04-17 16:09:43 +02:00
l3fwd-vf ethdev: deprecate port count function 2018-04-18 00:48:41 +02:00
link_status_interrupt ethdev: deprecate port count function 2018-04-18 00:48:41 +02:00
load_balancer convert snprintf to strlcpy 2018-04-04 17:33:08 +02:00
multi_process examples: add empty meson files for unsupported ones 2018-04-17 16:09:43 +02:00
netmap_compat examples: add empty meson files for unsupported ones 2018-04-17 16:09:43 +02:00
packet_ordering ethdev: deprecate port count function 2018-04-18 00:48:41 +02:00
performance-thread examples: add empty meson files for unsupported ones 2018-04-17 16:09:43 +02:00
ptpclient ethdev: deprecate port count function 2018-04-18 00:48:41 +02:00
qos_meter examples: fix build with meson 2018-03-13 23:57:33 +01:00
qos_sched ethdev: deprecate port count function 2018-04-18 00:48:41 +02:00
quota_watermark examples: add empty meson files for unsupported ones 2018-04-17 16:09:43 +02:00
rxtx_callbacks ethdev: deprecate port count function 2018-04-18 00:48:41 +02:00
server_node_efd examples: add empty meson files for unsupported ones 2018-04-17 16:09:43 +02:00
service_cores build: replace license text with SPDX tag 2018-01-30 21:58:59 +01:00
skeleton ethdev: deprecate port count function 2018-04-18 00:48:41 +02:00
tep_termination examples: disable unsupported examples on BSD build 2018-04-17 16:09:43 +02:00
timer build: replace license text with SPDX tag 2018-01-30 21:58:59 +01:00
vhost examples/vhost: move to safe GPA translation API 2018-04-23 17:12:13 +02:00
vhost_crypto examples/vhost_crypto: add sample application 2018-04-14 00:43:30 +02:00
vhost_scsi examples/vhost_scsi: move to safe GPA translation API 2018-04-23 17:12:13 +02:00
vm_power_manager examples: add empty meson files for unsupported ones 2018-04-17 16:09:43 +02:00
vmdq ethdev: deprecate port count function 2018-04-18 00:48:41 +02:00
vmdq_dcb ethdev: deprecate port count function 2018-04-18 00:48:41 +02:00
Makefile examples/vhost_crypto: add sample application 2018-04-14 00:43:30 +02:00
meson.build examples: improve error report for missing meson deps 2018-04-17 16:09:43 +02:00