Go to file
Beilei Xing 73f9509e0e net/i40e: fix out-of-bounds access
When calling i40e_flowtype_to_pctype in i40e_get_hash_filter_global_config
and i40e_set_hash_filter_global_config, function i40e_flowtype_to_pctype
will be possibly make an out-of-bounds access, because size of the array
is 15. So check the flow type is valid before calling
i40e_flowtype_to_pctype.
In the process fix other occurances of the same problem

Coverity issue: 37793, 37794
Fixes: 782c8c92f1 ("i40e: add hash configuration")
Fixes: f2b2e2354b ("i40e: split function for hash and flow director input")
Fixes: 98f0557076 ("i40e: configure input fields for RSS or flow director")

Signed-off-by: Beilei Xing <beilei.xing@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
2016-07-08 22:50:59 +02:00
app app/test: remove useless clock estimation 2016-07-10 16:19:56 +02:00
buildtools pmdinfogen: fix build on FreeBSD 2016-07-10 14:51:09 +02:00
config net/mlx5: remove inline Tx support 2016-06-27 16:17:52 +02:00
doc igb_uio: fix possible mmap failure with Linux 4.5 2016-07-10 15:56:54 +02:00
drivers net/i40e: fix out-of-bounds access 2016-07-08 22:50:59 +02:00
examples examples: fix dependencies on hash library 2016-07-10 16:23:13 +02:00
lib table: remove unneeded dependency on hash library 2016-07-10 16:23:13 +02:00
mk mk: fix verbose pmdinfogen run 2016-07-08 17:07:05 +02:00
pkg version: 16.04 2016-04-11 23:56:34 +02:00
scripts scripts: add more git log capitalization checks 2016-07-10 17:01:02 +02:00
tools tools: fix pmdinfo for FreeBSD 2016-07-10 14:51:09 +02:00
.gitignore init DPDK repository 2013-03-07 10:57:42 +01:00
GNUmakefile pmdinfogen: add buildtools and pmdinfogen utility 2016-07-06 22:34:39 +02:00
LICENSE.GPL doc: GPL/LGPL licenses 2013-07-25 14:43:06 +02:00
LICENSE.LGPL doc: fix file format (dos to unix) 2013-09-06 11:43:07 +02:00
MAINTAINERS maintainers: add section for pmdinfo 2016-07-08 17:48:15 +02:00
Makefile remove trailing whitespaces 2014-06-11 00:29:34 +02:00
README doc: add readme file 2015-12-13 22:06:58 +01:00

DPDK is a set of libraries and drivers for fast packet processing.
It supports many processor architectures and both FreeBSD and Linux.

The DPDK uses the Open Source BSD license for the core libraries and
drivers. The kernel components are GPLv2 licensed.

Please check the doc directory for release notes,
API documentation, and sample application information.

For questions and usage discussions, subscribe to: users@dpdk.org
Report bugs and issues to the development mailing list: dev@dpdk.org