Re: [PATCH v1] af/rvu_cgx: Fix missing check bugs in rvu_cgx.c
From: Jakub Kicinski <kuba@kernel.org>
Date: 2021-01-04 21:27:09
Also in:
lkml
From: Jakub Kicinski <kuba@kernel.org>
Date: 2021-01-04 21:27:09
Also in:
lkml
On Tue, 29 Dec 2020 23:24:26 -0800 wangyingjie55@126.com wrote:
From: Yingjie Wang <redacted> In rvu_mbox_handler_cgx_mac_addr_get() and rvu_mbox_handler_cgx_mac_addr_set(), the msg is expected only from PFs that are mapped to CGX LMACs. It should be checked before mapping, so we add the is_cgx_config_permitted() in the functions. Signed-off-by: Yingjie Wang <redacted>
Please include an appropriate Fixes tag and repost, thanks!