aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorGeetha sowjanya <gakula@marvell.com>2021-08-22 17:32:24 +0530
committerDavid S. Miller <davem@davemloft.net>2021-08-22 21:38:15 +0100
commit07cccffdbdd37820ba13c645af8e74a78a266557 (patch)
tree7171d8e69fc8fca4ce7a4467ba060ec198ed8093 /tools/perf/scripts/python/exported-sql-viewer.py
parent73d33dbc0723ac4d94e9e01fe53404b28ec6abab (diff)
octeontx2-af: Check capability flag while freeing ipolicer memory
Bandwidth profiles (ipolicer structure)is implemented only on CN10K platform. But current code try to free the ipolicer memory without checking the capibility flag leading to driver crash on OCTEONTX2 platform. This patch fixes the issue by add capability flag check. Fixes: e8e095b3b3700 ("octeontx2-af: cn10k: Bandwidth profiles config support") Signed-off-by: Geetha sowjanya <gakula@marvell.com> Signed-off-by: Sunil Goutham <sgoutham@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions