aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorChengfeng Ye <[email protected]>2021-11-05 06:36:36 -0700
committerDavid S. Miller <[email protected]>2021-11-07 19:37:04 +0000
commit9fec40f850658e00a14a7dd9e06f7fbc7e59cc4a (patch)
tree8e4a766b2db1e35d0cfa6558419c481b6970a32b /tools/perf/scripts/python/export-to-sqlite.py
parent62b12ab5dff038ea43b69207b1f42ddc2f0a0b09 (diff)
nfc: pn533: Fix double free when pn533_fill_fragment_skbs() fails
skb is already freed by dev_kfree_skb in pn533_fill_fragment_skbs, but follow error handler branch when pn533_fill_fragment_skbs() fails, skb is freed again, results in double free issue. Fix this by not free skb in error path of pn533_fill_fragment_skbs. Fixes: 963a82e07d4e ("NFC: pn533: Split large Tx frames in chunks") Fixes: 93ad42020c2d ("NFC: pn533: Target mode Tx fragmentation support") Signed-off-by: Chengfeng Ye <[email protected]> Reviewed-by: Dan Carpenter <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions