aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorWeihang Li <[email protected]>2019-06-20 16:52:42 +0800
committerDavid S. Miller <[email protected]>2019-06-26 11:59:02 -0400
commit987b4ae78e4268d22b279f65d80cc541f9f0eb53 (patch)
treee1c46571849deb539f19d186264d1638678c7e3a /tools/perf/scripts/python/export-to-postgresql.py
parent9d5e67d1c191831da79f0a8bcff029151e3fe54b (diff)
net: hns3: add check to number of buffer descriptors
This patch adds check to number of bds before we allocate memory for them. If we get an invalid bd num in some cases, it will cause a memory overflow. Signed-off-by: Weihang Li <[email protected]> Signed-off-by: Huazhong Tan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions