On 2021/2/9 5:34, Jakub Kicinski wrote:
On Mon, 8 Feb 2021 19:39:33 +0800 Huazhong Tan wrote:
From: Yufeng Mo moyufeng@huawei.com
The parameters sent from VF may be unreliable. If these parameters are used directly, memory overwriting may occur. Therefore, we need to check parameters before using.
Signed-off-by: Yufeng Mo moyufeng@huawei.com Signed-off-by: Huazhong Tan tanhuazhong@huawei.com
Are you sure this is not a fix which should target net and stable?
Yes, this patch should be a fix for below:
Fixes: 1a426f8b40fc ("net: hns3: fix the VF queue reset flow error") Fixes: 84e095d64ed9 ("net: hns3: Change PF to add ring-vect binding & resetQ to mailbox") Fixes: a638b1d8cc87 ("net: hns3: fix get VF RSS issue")
Other than that the patches look good to me.
Could you apply other patches into -next? and i resend this one for the net.
Or I send a V2 without this patch?
.