aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorRakesh Pillai <pillair@codeaurora.org>2020-10-21 22:45:52 +0530
committersnandini <snandini@codeaurora.org>2020-11-07 10:54:01 -0800
commit90fba31dd43667e6e21022a13522488c2b8ed305 (patch)
treeffe46bfdd002bcbf989c727f6e5981778dd22211 /tools/perf/scripts/python/export-to-postgresql.py
parent3b50e89bd28140410a4e2af321389a7019245e32 (diff)
qcacmn: Increment skb users for TSO pkt before enqueue of first segment
TSO packet segments are enqueued to the HW individually. The skb users count is incremented for each additional segment, so that it is freed only when the TX completion for the last segment is received. Currently the skb users is incremented for the additional TSO segments after the previous segment has been enqueued to the HW. Due to this, there is a chance for the tx completion for the first TSO segment to be received even before the skb users is incremented to account for the remaining TSO segments, thereby leading to use-after-free scenarios. Fix this by incrementing the skb users for additional TSO segment before enqueueing the previous TSO segment to the HW. Change-Id: Idebc28719ba6f0223d5454e15c3cde349803816e CRs-Fixed: 2801777
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions