diff options
author | Jiasheng Jiang <jiasheng@iscas.ac.cn> | 2022-09-30 07:48:43 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-10-03 14:35:21 +0300 |
commit | 9e6fd874c7bb47b6a4295abc4c81b2f41b97e970 (patch) | |
tree | 43b7a086264b8fb07e62ab60fec29f302328fc06 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 73ea735073599430818e89b8901452287a15a718 (diff) | |
download | linux-9e6fd874c7bb47b6a4295abc4c81b2f41b97e970.tar.xz |
net: prestera: acl: Add check for kmemdup
As the kemdup could return NULL, it should be better to check the return
value and return error if fails.
Moreover, the return value of prestera_acl_ruleset_keymask_set() should
be checked by cascade.
Fixes: 604ba230902d ("net: prestera: flower template support")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Reviewed-by: Taras Chornyi<tchornyi@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions