linux_dsm_epyc7002/drivers/net/ethernet/hisilicon/hns3/hns3pf
Christophe JAILLET 81359617f1 net: hns3: Fix an error handling path in 'hclge_rss_init_hw()'
If this sanity check fails, we must free 'rss_indir'. Otherwise there is a
memory leak.
'goto err' as done in the other error handling paths to fix it.

Fixes: 46a3df9f97 ("net: hns3: Fix for setting rss_size incorrectly")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-10-01 22:57:24 -07:00
..
hclge_cmd.c net: hns3: fix a handful of spelling mistakes 2017-08-19 21:30:55 -07:00
hclge_cmd.h net: hns3: Fix for rx_priv_buf_alloc not setting rx shared buffer 2017-09-20 16:15:39 -07:00
hclge_main.c net: hns3: Fix an error handling path in 'hclge_rss_init_hw()' 2017-10-01 22:57:24 -07:00
hclge_main.h net: hns3: Fix for pri to tc mapping in TM 2017-09-20 16:15:40 -07:00
hclge_mdio.c net: hns3: Fixes the wrong IS_ERR check on the returned phydev value 2017-08-30 15:29:42 -07:00
hclge_mdio.h net: hns3: Add MDIO support to HNS3 Ethernet driver for hip08 SoC 2017-08-03 15:08:17 -07:00
hclge_tm.c net: hns3: Fix for pri to tc mapping in TM 2017-09-20 16:15:40 -07:00
hclge_tm.h net: hns3: Fix typo error for feild in hclge_tm 2017-09-20 16:15:40 -07:00
hns3_enet.c net: hns3: Fix initialization when cmd is not supported 2017-09-20 16:15:39 -07:00
hns3_enet.h net: hns3: Add support to change MTU in HNS3 hardware 2017-08-22 11:02:21 -07:00
hns3_ethtool.c net: hns3: Fixes the static checker error warning in hns3_get_link_ksettings() 2017-08-18 10:31:56 -07:00
Makefile net: hns3: Add HNS3 driver to kernel build framework & MAINTAINERS 2017-08-03 15:08:18 -07:00