linux/drivers/net
Yufeng Mo 5ff69431b7 net: hns3: add a check for index in hclge_get_rss_key()
[ Upstream commit 532cfc0df1 ]

The index is received from vf, if use it directly,
an out-of-bound issue may be caused, so add a check for
this index before using it in hclge_get_rss_key().

Fixes: a638b1d8cc ("net: hns3: fix get VF RSS issue")
Signed-off-by: Yufeng Mo <moyufeng@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-02-17 11:02:27 +01:00
..
appletalk
arcnet
bonding bonding: fix feature flag setting at init time 2020-12-08 11:26:08 -08:00
caif
can can: dev: prevent potential information leak in can_fill_info() 2021-02-03 23:28:50 +01:00
dsa net: dsa: felix: implement port flushing on .phylink_mac_link_down 2021-02-17 11:02:27 +01:00
ethernet net: hns3: add a check for index in hclge_get_rss_key() 2021-02-17 11:02:27 +01:00
fddi
fjes
hamradio
hippi
hyperv hv_netvsc: Reset the RSC count if NVSP_STAT_FAIL in netvsc_receive() 2021-02-17 11:02:26 +01:00
ieee802154
ipa net: ipa: set error code in gsi_channel_setup() 2021-02-17 11:02:26 +01:00
ipvlan
mdio
netdevsim netdevsim: Add debugfs toggle to reject BPF programs in verifier 2020-12-09 16:27:42 +01:00
pcs
phy net: phy: smsc: fix clk error handling 2021-01-23 16:04:03 +01:00
plip
ppp
slip
team team: protect features update by RCU to avoid deadlock 2021-02-03 23:28:51 +01:00
usb net: usb: qmi_wwan: added support for Thales Cinterion PLSx3 modem family 2021-02-03 23:28:39 +01:00
vmxnet3
wan net: hdlc_x25: Return meaningful error code in x25_open 2021-02-17 11:02:26 +01:00
wimax
wireguard
wireless mt76: dma: fix a possible memory leak in mt76_add_fragment() 2021-02-17 11:02:25 +01:00
xen-netback xen/netback: avoid race in xenvif_rx_ring_slots_available() 2021-02-17 11:02:26 +01:00
bareudp.c net: bareudp: add missing error handling for bareudp_link_config() 2021-01-17 14:16:55 +01:00
dummy.c
eql.c
geneve.c Revert "geneve: pull IP header before ECN decapsulation" 2020-12-09 14:40:07 -08:00
gtp.c
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macsec.c
macvlan.c
macvtap.c
Makefile
mdio.c
mii.c
net_failover.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c
thunderbolt.c
tun.c tun: fix return value when the number of iovs exceeds MAX_SKB_FRAGS 2021-01-12 20:18:11 +01:00
veth.c
virtio_net.c virtio_net: Fix recursive call to cpus_read_lock() 2021-01-12 20:18:10 +01:00
vrf.c vrf: packets with lladdr src needs dst at input with orig_iif when needs strict 2020-12-05 13:46:07 -08:00
vsockmon.c
vxlan.c vxlan: fix error return code in __vxlan_dev_create() 2020-12-02 18:04:02 -08:00
xen-netfront.c