numam-dpdk/lib
Yuanhan Liu a436f53ebf vhost: avoid dead loop chain
If a malicious guest forges a dead loop chain, it could lead to a dead
loop of copying the desc buf to mbuf, which results to all mbuf being
exhausted.

Add a var nr_desc to avoid such case.

Suggested-by: Huawei Xie <huawei.xie@intel.com>
Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
2016-03-15 00:07:32 +01:00
..
librte_acl remove extra parentheses in return statement 2016-02-10 15:47:50 +01:00
librte_cfgfile cfgfile: support looking up sections by index 2016-02-29 11:28:31 +01:00
librte_cmdline cmdline: bump library version 2016-03-09 16:13:14 +01:00
librte_compat compat: remove unneeded macro 2015-06-29 16:41:23 +02:00
librte_cryptodev cryptodev: add capabilities discovery 2016-03-11 10:43:09 +01:00
librte_distributor distributor: remove inclusion of mbuf header 2015-05-11 15:36:37 +02:00
librte_eal eal: decrease log level of some debug messages 2016-03-13 23:44:35 +01:00
librte_ether ethdev: add IP in GRE tunnel 2016-03-13 15:27:20 +01:00
librte_hash hash: fix CRC32c computation 2016-03-01 14:37:26 +01:00
librte_ip_frag remove extra parentheses in return statement 2016-02-10 15:47:50 +01:00
librte_ivshmem mem: fix ivshmem freeing 2015-08-09 19:45:25 +02:00
librte_jobstats jobstats: add abort function 2016-02-29 11:22:53 +01:00
librte_kni lib: remove keyword extern for functions 2016-01-28 18:40:46 +01:00
librte_kvargs remove unneeded tests for NULL when freeing 2016-01-27 15:34:48 +01:00
librte_lpm lpm/arm: support NEON 2016-03-11 15:56:07 +01:00
librte_mbuf ixgbe: offload VxLAN and NVGRE Rx checksum on X550 2016-03-13 11:52:52 +01:00
librte_mempool mempool: fix leak when creation fails 2016-02-19 16:17:45 +01:00
librte_meter doc: fix doxygen warnings in QoS API 2015-06-18 14:53:58 +02:00
librte_net net: fix build with gcc 4.4.7 and strict aliasing 2015-11-25 22:11:37 +01:00
librte_pipeline pipeline: add new functions for action handlers 2016-03-10 01:29:42 +01:00
librte_port port: add pcap file dump 2016-03-13 16:04:11 +01:00
librte_power config: remove useless explicit includes of generated header 2016-02-10 22:43:38 +01:00
librte_reorder reorder: allow random number as starting point 2015-06-22 22:20:12 +02:00
librte_ring remove extra parentheses in return statement 2016-02-10 15:47:50 +01:00
librte_sched sched: eliminate floating point in calculating byte clock 2016-03-13 23:31:59 +01:00
librte_table lpm: add a new config structure for IPv4 2016-03-09 23:05:05 +01:00
librte_timer timer: fix race condition 2015-08-03 12:43:01 +02:00
librte_vhost vhost: avoid dead loop chain 2016-03-15 00:07:32 +01:00
Makefile mbuf_offload: remove library 2016-03-10 21:08:28 +01:00