On Mon, 11 Jan 2021 18:09:49 -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.
Fixes: 289e20bc1ab5 ("af/rvu_cgx: Fix missing check bugs in rvu_cgx.c")
Signed-off-by: Yingjie Wang <redacted>
Fixes tag: Fixes: 289e20bc1ab5 ("af/rvu_cgx: Fix missing check bugs in rvu_cgx.c")
Has these problem(s):
- Target SHA1 does not exist
Where is that commit from? You're not referring to this commit itself
in your tree? The subject is suspiciously similar :S