[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210104132610.6d7e3578@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Mon, 4 Jan 2021 13:26:10 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: wangyingjie55@....com
Cc: sgoutham@...vell.com, lcherian@...vell.com, gakula@...vell.com,
jerinj@...vell.com, davem@...emloft.net, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v1] af/rvu_cgx: Fix missing check bugs in rvu_cgx.c
On Tue, 29 Dec 2020 23:24:26 -0800 wangyingjie55@....com wrote:
> From: Yingjie Wang <wangyingjie55@....com>
>
> 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 <wangyingjie55@....com>
Please include an appropriate Fixes tag and repost, thanks!
Powered by blists - more mailing lists