linux_dsm_epyc7002/drivers/net/ethernet/hisilicon/hns3
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
..
hns3pf net: hns3: Fix an error handling path in 'hclge_rss_init_hw()' 2017-10-01 22:57:24 -07:00
hnae3.c net: hns3: Fixes the premature exit of loop when matching clients 2017-09-19 16:06:49 -07:00
hnae3.h net: hns3: Fix for pri to tc mapping in TM 2017-09-20 16:15:40 -07:00
Makefile net: hns3: Add HNS3 driver to kernel build framework & MAINTAINERS 2017-08-03 15:08:18 -07:00