Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1742970

Re: [PATCH] net: hns3: Fix an error handling path in 'hclge_rss_init_hw()'

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH] net: hns3: Fix an error handling path in 'hclge_rss_init_hw()'
Date 2017-10-02 08:00 +0200
Message-ID <uw1VM-3t7-5@gated-at.bofh.it> (permalink)
References <uviFj-8kJ-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] net: hns3: Fix an error handling path in 'hclge_rss_init_hw()' Christophe JAILLET <christophe.jaillet@wanadoo.fr> - 2017-09-30 07:40 +0200
  Re: [PATCH] net: hns3: Fix an error handling path in  'hclge_rss_init_hw()' Yunsheng Lin <linyunsheng@huawei.com> - 2017-09-30 08:20 +0200
  Re: [PATCH] net: hns3: Fix an error handling path in  'hclge_rss_init_hw()' David Miller <davem@davemloft.net> - 2017-10-02 08:00 +0200

csiph-web