mirror_ubuntu-kernels/drivers/net/ethernet/marvell/octeontx2/af
Yingjie Wang b7ba6cfabc octeontx2-af: Fix missing check bugs in rvu_cgx.c
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: 96be2e0da8 ("octeontx2-af: Support for MAC address filters in CGX")
Signed-off-by: Yingjie Wang <wangyingjie55@126.com>
Reviewed-by: Geetha sowjanya<gakula@marvell.com>
Link: https://lore.kernel.org/r/1610719804-35230-1-git-send-email-wangyingjie55@126.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2021-01-15 11:36:47 -08:00
..
cgx_fw_if.h octeontx2-af: Optimize data retrieval from firmware 2020-03-02 11:08:51 -08:00
cgx.c octeontx2-af: fix memory leak of lmac and lmac->name 2021-01-07 18:39:04 -08:00
cgx.h octeontx2-af: Map NIX block from CGX connection 2020-10-31 14:16:46 -07:00
common.h octeontx2-af: Add mbox messages to install and delete MCAM rules 2020-11-17 13:48:20 -08:00
Makefile octeontx2-af: Add devlink suppoort to af driver 2020-12-14 17:49:28 -08:00
mbox.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-10-05 18:40:01 -07:00
mbox.h octeontx2-af: Add support for RSS hashing based on Transport protocol field 2020-11-21 16:05:22 -08:00
npc_profile.h octeontx2-af: Modify default KEX profile to extract TX packet fields 2020-11-17 13:48:20 -08:00
npc.h octeontx2-pf: Add support for SR-IOV management functions 2020-11-17 13:48:21 -08:00
ptp.c octeontx2-af: Add support for Marvell PTP coprocessor 2020-08-24 18:15:45 -07:00
ptp.h octeontx2-af: Add support for Marvell PTP coprocessor 2020-08-24 18:15:45 -07:00
rvu_cgx.c octeontx2-af: Fix missing check bugs in rvu_cgx.c 2021-01-15 11:36:47 -08:00
rvu_cpt.c octeontx2-af: add mailbox interface for CPT 2020-11-20 11:01:13 -08:00
rvu_debugfs.c octeontx2-af: debugfs: delete dead code 2020-12-02 12:00:55 -08:00
rvu_devlink.c octeontx2-af: Fix undetected unmap PF error check 2020-12-17 10:57:43 -08:00
rvu_devlink.h octeontx2-af: Add devlink health reporters for NPA 2020-12-14 17:49:28 -08:00
rvu_nix.c octeontx2-af: Add support for RSS hashing based on Transport protocol field 2020-11-21 16:05:22 -08:00
rvu_npa.c net: marvell: octeontx2: simplify the return expression of rvu_npa_init() 2020-12-09 17:05:36 -08:00
rvu_npc_fs.c octeontx2-af: Fix access of iter->entry after iter object has been kfree'd 2020-11-20 11:07:57 -08:00
rvu_npc.c octeontx2-af: Delete NIX_RXVLAN_ALLOC mailbox message 2020-11-17 13:48:21 -08:00
rvu_reg.c octeontx2-af: Mbox changes for 98xx 2020-10-31 14:16:47 -07:00
rvu_reg.h octeontx2-af: add mailbox interface for CPT 2020-11-20 11:01:13 -08:00
rvu_struct.h octeontx2-af: Add devlink health reporters for NPA 2020-12-14 17:49:28 -08:00
rvu_trace.c octeontx2-af: Introduce tracepoints for mailbox 2020-09-23 17:35:26 -07:00
rvu_trace.h octeontx2-af: Introduce tracepoints for mailbox 2020-09-23 17:35:26 -07:00
rvu.c octeontx2-af: Add devlink suppoort to af driver 2020-12-14 17:49:28 -08:00
rvu.h octeontx2-af: Add devlink suppoort to af driver 2020-12-14 17:49:28 -08:00