[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200510200757.13df2439@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Sun, 10 May 2020 20:07:57 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Luo bin <luobin9@...wei.com>
Cc: <davem@...emloft.net>, <linux-kernel@...r.kernel.org>,
<netdev@...r.kernel.org>, <luoxianjun@...wei.com>,
<yin.yinshi@...wei.com>, <cloud.wangxiaoyun@...wei.com>
Subject: Re: [PATCH net v3] hinic: fix a bug of ndo_stop
On Sun, 10 May 2020 19:01:08 +0000 Luo bin wrote:
> if some function in ndo_stop interface returns failure because of
> hardware fault, must go on excuting rest steps rather than return
> failure directly, otherwise will cause memory leak.And bump the
> timeout for SET_FUNC_STATE to ensure that cmd won't return failure
> when hw is busy. Otherwise hw may stomp host memory if we free
> memory regardless of the return value of SET_FUNC_STATE.
>
> Fixes: 51ba902a16e6 ("net-next/hinic: Initialize hw interface")
> Signed-off-by: Luo bin <luobin9@...wei.com>
Applied, thank you.
Powered by blists - more mailing lists