Messages in this thread | | | Date | Sun, 01 Oct 2017 22:57:43 -0700 (PDT) | Subject | Re: [PATCH] net: hns3: Fix an error handling path in 'hclge_rss_init_hw()' | From | David Miller <> |
| |
From: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Date: Sat, 30 Sep 2017 07:34:34 +0200
> 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: 46a3df9f9718 ("net: hns3: Fix for setting rss_size incorrectly") > Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Applied.
| |