linux_dsm_epyc7002/drivers/net/ethernet/netronome/nfp
Colin Ian King f50cef6f77 nfp: check idx is -ENOSPC before using it is an index
idx can be returned as -ENOSPC, so we should check for this first
before using it as an index into nn->vxlan_usecnt[] to avoid an
out of bounds array offset read.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-07-11 13:52:00 -07:00
..
Makefile
nfp_net_common.c nfp: check idx is -ENOSPC before using it is an index 2016-07-11 13:52:00 -07:00
nfp_net_ctrl.h nfp: remove unused suspicious mask defines 2016-04-16 22:34:40 -04:00
nfp_net_debugfs.c nfp: remove unnecessary static 2016-04-16 22:34:39 -04:00
nfp_net_ethtool.c nfp: implement ethtool .get_link() callback 2016-06-30 09:12:14 -04:00
nfp_net.h nfp: correct name of control BAR define 2016-06-30 09:12:14 -04:00
nfp_netvf_main.c nfp: correct name of control BAR define 2016-06-30 09:12:14 -04:00