summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJiasheng Jiang <jiasheng@iscas.ac.cn>2022-09-30 07:48:43 +0300
committerDavid S. Miller <davem@davemloft.net>2022-10-03 14:35:21 +0300
commit9e6fd874c7bb47b6a4295abc4c81b2f41b97e970 (patch)
tree43b7a086264b8fb07e62ab60fec29f302328fc06 /tools/perf/scripts/python/export-to-postgresql.py
parent73ea735073599430818e89b8901452287a15a718 (diff)
downloadlinux-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