[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1612861387-35858-1-git-send-email-tanhuazhong@huawei.com>
Date: Tue, 9 Feb 2021 17:03:04 +0800
From: Huazhong Tan <tanhuazhong@...wei.com>
To: <davem@...emloft.net>, <kuba@...nel.org>
CC: <netdev@...r.kernel.org>, <salil.mehta@...wei.com>,
<yisen.zhuang@...wei.com>, <huangdaode@...wei.com>,
<linuxarm@...neuler.org>, Huazhong Tan <tanhuazhong@...wei.com>
Subject: [PATCH net 0/3] net: hns3: fixes for -net
The parameters sent from vf may be unreliable. If these
parameters are used directly, memory overwriting may occur.
So this series adds some checks for this case.
Yufeng Mo (3):
net: hns3: add a check for queue_id in hclge_reset_vf_queue()
net: hns3: add a check for tqp_index in
hclge_get_ring_chain_from_mbx()
net: hns3: add a check for index in hclge_get_rss_key()
.../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 7 ++++++
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c | 29 +++++++++++++++++++---
2 files changed, 32 insertions(+), 4 deletions(-)
--
2.7.4
Powered by blists - more mailing lists