numam-dpdk/drivers/net/i40e
Xiao Zhang 01c12d247e net/i40e: fix integer overflow
When configuring i40e rx queue, the temporary variable to store max
packet length is not big enough which leads to integer overflow issue.
This patch fixes the issue by removing the variable and using the
expression directly since the variable is only used once.

Fixes: 4861cde461 ("i40e: new poll mode driver")
Cc: stable@dpdk.org

Signed-off-by: Xiao Zhang <xiao.zhang@intel.com>
Reviewed-by: Xiaolong Ye <xiaolong.ye@intel.com>
2019-10-23 16:43:09 +02:00
..
base build: enable extra warnings with meson 2019-10-24 01:03:30 +02:00
i40e_ethdev_vf.c net/i40e: set speed to undefined for default case 2019-10-07 15:00:57 +02:00
i40e_ethdev.c net/i40e: support Rx/Tx burst mode info 2019-10-23 16:43:09 +02:00
i40e_ethdev.h net/i40e: support Rx/Tx burst mode info 2019-10-23 16:43:09 +02:00
i40e_fdir.c net: replace IPv4/v6 constants with uppercase name 2019-06-03 16:54:54 +02:00
i40e_flow.c net/i40e: fix double flow mark action check 2019-07-26 13:24:32 +02:00
i40e_logs.h net/i40e: use dynamic log type for Tx/Rx debug 2019-10-07 15:00:58 +02:00
i40e_pf.c net/i40e: limit the number of VF messages 2019-10-07 15:00:56 +02:00
i40e_pf.h net/i40e: support AVF basic interface 2018-01-16 18:47:49 +01:00
i40e_regs.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
i40e_rxtx_vec_altivec.c net/i40e: replace license text with SPDX tag 2019-07-24 21:01:11 +02:00
i40e_rxtx_vec_avx2.c net/i40e: fix address of first segment 2019-08-06 13:30:10 +02:00
i40e_rxtx_vec_common.h net/i40e: fix Rx instability with vector mode 2018-11-05 16:50:14 +01:00
i40e_rxtx_vec_neon.c net/i40e: remove compiler barrier from NEON Rx 2019-09-03 17:12:37 +02:00
i40e_rxtx_vec_sse.c net/i40e: fix address of first segment 2019-08-06 13:30:10 +02:00
i40e_rxtx.c net/i40e: fix integer overflow 2019-10-23 16:43:09 +02:00
i40e_rxtx.h net/i40e: check illegal packets 2018-07-03 01:35:58 +02:00
i40e_tm.c drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
i40e_vf_representor.c ethdev: change allmulticast callbacks to return status 2019-10-07 15:00:55 +02:00
Makefile net/i40e: eliminate weak symbols in data path 2019-06-13 23:54:29 +09:00
meson.build net/i40e: eliminate weak symbols in data path 2019-06-13 23:54:29 +09:00
rte_pmd_i40e_version.map net/i40e: support input set configuration 2018-01-16 18:47:49 +01:00
rte_pmd_i40e.c net/i40e: fix MAC removal check 2019-07-23 14:31:35 +02:00
rte_pmd_i40e.h net: add rte prefix to ether structures 2019-05-24 13:34:45 +02:00