summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorDuoming Zhou <duoming@zju.edu.cn>2024-05-30 13:17:33 +0800
committerJakub Kicinski <kuba@kernel.org>2024-06-01 15:49:42 -0700
commit166fcf86cd34e15c7f383eda4642d7a212393008 (patch)
tree535def0317ccf217ccbd6564692f160e0272a692 /tools/perf/scripts/python/export-to-sqlite.py
parent3c34fb0bd4a4237592c5ecb5b2e2531900c55774 (diff)
ax25: Replace kfree() in ax25_dev_free() with ax25_dev_put()
The object "ax25_dev" is managed by reference counting. Thus it should not be directly released by kfree(), replace with ax25_dev_put(). Fixes: d01ffb9eee4a ("ax25: add refcount in ax25_dev to avoid UAF bugs") Suggested-by: Dan Carpenter <dan.carpenter@linaro.org> Signed-off-by: Duoming Zhou <duoming@zju.edu.cn> Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org> Link: https://lore.kernel.org/r/20240530051733.11416-1-duoming@zju.edu.cn Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions