diff options
author | Yingjie Wang <[email protected]> | 2021-01-15 06:10:04 -0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2021-01-15 11:36:47 -0800 |
commit | b7ba6cfabc42fc846eb96e33f1edcd3ea6290a27 (patch) | |
tree | 2d4a0dad21bbde8cb1910168ef89319fb2b34e36 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 146620506274bd24d52fb1c589110a30eed8240b (diff) |
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: 96be2e0da85e ("octeontx2-af: Support for MAC address filters in CGX")
Signed-off-by: Yingjie Wang <[email protected]>
Reviewed-by: Geetha sowjanya<[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions