[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20181103.154227.2202855234462473260.davem@davemloft.net>
Date: Sat, 03 Nov 2018 15:42:27 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: linyunsheng@...wei.com
Cc: huangdaode@...ilicon.com, xuwei5@...ilicon.com,
liguozhu@...ilicon.com, Yisen.Zhuang@...wei.com,
john.garry@...wei.com, linuxarm@...wei.com, salil.mehta@...wei.com,
lipeng321@...wei.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net] net: hns3: Fix for out-of-bounds access when
setting pfc back pressure
From: Yunsheng Lin <linyunsheng@...wei.com>
Date: Thu, 1 Nov 2018 20:12:43 +0800
> The vport should be initialized to hdev->vport for each bp group,
> otherwise it will cause out-of-bounds access and bp setting not
> correct problem.
...
> Fixes: 67bf2541f4b9 ("net: hns3: Fixes the back pressure setting when sriov is enabled")
> Signed-off-by: Yunsheng Lin <linyunsheng@...wei.com>
Applied, thanks.
Powered by blists - more mailing lists