numam-dpdk/drivers/net/sfc
Andy Moreton fa7c395dee net/sfc/base: fix potential buffer overflow in Tx queue init
Improve error checking to avoid a caller overflowing the MCDI
request buffer if the requested TXQ size was excessively large.

Coverity issue: 1305527
Fixes: e7cd430c86 ("net/sfc/base: import SFN7xxx family support")
CC: stable@dpdk.org

Signed-off-by: Andy Moreton <amoreton@solarflare.com>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
2017-04-04 19:03:04 +02:00
..
base net/sfc/base: fix potential buffer overflow in Tx queue init 2017-04-04 19:03:04 +02:00
efsys.h net/sfc: add missing BSD license line and update year 2017-04-04 18:59:41 +02:00
Makefile net/sfc: implement EF10 native Tx datapath 2017-04-04 18:59:43 +02:00
rte_pmd_sfc_efx_version.map net/sfc: libefx-based driver stub 2017-01-17 19:39:25 +01:00
sfc_debug.h net/sfc: add missing BSD license line and update year 2017-04-04 18:59:41 +02:00
sfc_dp_rx.h net/sfc: implement EF10 native Rx datapath 2017-04-04 18:59:42 +02:00
sfc_dp_tx.h net/sfc: implement simple EF10 native Tx datapath 2017-04-04 18:59:43 +02:00
sfc_dp.c net/sfc: factor out libefx-based Tx datapath 2017-04-04 18:59:43 +02:00
sfc_dp.h net/sfc: factor out libefx-based Tx datapath 2017-04-04 18:59:43 +02:00
sfc_ef10_rx.c net/sfc: implement EF10 native Rx datapath 2017-04-04 18:59:42 +02:00
sfc_ef10_tx.c net/sfc: implement simple EF10 native Tx datapath 2017-04-04 18:59:43 +02:00
sfc_ef10.h net/sfc: implement EF10 native Rx datapath 2017-04-04 18:59:42 +02:00
sfc_ethdev.c net/sfc: fix device reconfigure 2017-04-04 19:03:01 +02:00
sfc_ev.c net/sfc: move event support init to attach stage 2017-04-04 19:03:00 +02:00
sfc_ev.h net/sfc: move event support init to attach stage 2017-04-04 19:03:00 +02:00
sfc_filter.c net/sfc: add missing BSD license line and update year 2017-04-04 18:59:41 +02:00
sfc_filter.h net/sfc: add missing BSD license line and update year 2017-04-04 18:59:41 +02:00
sfc_flow.c net/sfc: add missing BSD license line and update year 2017-04-04 18:59:41 +02:00
sfc_flow.h net/sfc: add missing BSD license line and update year 2017-04-04 18:59:41 +02:00
sfc_intr.c net/sfc: remove EvQ info array to simplify reconfigure 2017-04-04 19:03:00 +02:00
sfc_kvargs.c net/sfc: factor out libefx-based Tx datapath 2017-04-04 18:59:43 +02:00
sfc_kvargs.h net/sfc: implement simple EF10 native Tx datapath 2017-04-04 18:59:43 +02:00
sfc_log.h net/sfc: add missing BSD license line and update year 2017-04-04 18:59:41 +02:00
sfc_mcdi.c net/sfc: add missing BSD license line and update year 2017-04-04 18:59:41 +02:00
sfc_port.c net/sfc: initialize port data on attach 2017-04-04 19:03:00 +02:00
sfc_rx.c net/sfc: support changing the number of receive queues 2017-04-04 19:03:00 +02:00
sfc_rx.h net/sfc: clarify Rx subsystem configure/close function names 2017-04-04 19:03:00 +02:00
sfc_tso.c net/sfc: factor out libefx-based Tx datapath 2017-04-04 18:59:43 +02:00
sfc_tweak.h net/sfc: add missing BSD license line and update year 2017-04-04 18:59:41 +02:00
sfc_tx.c net/sfc: support changing the number of transmit queues 2017-04-04 19:03:00 +02:00
sfc_tx.h net/sfc: clarify Tx subsystem configure/close function names 2017-04-04 19:03:00 +02:00
sfc.c net/sfc: fix device reconfigure 2017-04-04 19:03:01 +02:00
sfc.h net/sfc: fix device reconfigure 2017-04-04 19:03:01 +02:00