Commit 4e2969a0 authored by Jian Shen's avatar Jian Shen Committed by David S. Miller
Browse files

net: hns3: add checking for vf id of mailbox



Add checking for vf id of mailbox, in order to avoid array
out-of-bounds risk.

Signed-off-by: default avatarJian Shen <shenjian15@huawei.com>
Signed-off-by: default avatarJijie Shao <shaojijie@huawei.com>
Reviewed-by: default avatarSunil Goutham <sgoutham@marvell.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 11d80f79
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment