linux_dsm_epyc7002/drivers/net/ethernet/hisilicon/hns3
Jian Shen 0285dbae5d net: hns3: fix vf id check issue when add flow director rule
When add flow director fule for vf, the vf id is used as array
subscript before valid checking, which may cause memory overflow.

Fixes: dd74f815dd ("net: hns3: Add support for rule add/delete for flow director")
Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-12-19 23:47:58 -08:00
..
hns3pf net: hns3: fix vf id check issue when add flow director rule 2018-12-19 23:47:58 -08:00
hns3vf net: hns3: reset tqp while doing DOWN operation 2018-12-19 23:47:58 -08:00
hclge_mbx.h net: hns3: Add "queue map" information query function 2018-12-15 10:54:18 -08:00
hnae3.c net: hns3: Fix client initialize state issue when roce client initialize failed 2018-09-19 21:20:22 -07:00
hnae3.h net: hns3: refine the handle for hns3_nic_net_open/stop() 2018-12-19 23:47:58 -08:00
hns3_dcbnl.c net: hns3: use HNS3_NIC_STATE_RESETTING to indicate resetting 2018-11-07 11:42:17 -08:00
hns3_debugfs.c net: hns3: Add "tm map" status information query function 2018-12-15 10:54:18 -08:00
hns3_enet.c net: hns3: add max vector number check for pf 2018-12-19 23:47:58 -08:00
hns3_enet.h net: hns3: update coalesce param per second 2018-12-18 12:01:01 -08:00
hns3_ethtool.c net: core: dev: Add extack argument to dev_open() 2018-12-06 13:26:06 -08:00
Makefile net: hns3: Add debugfs framework registration 2018-11-23 17:28:59 -08:00