diff options
author | Thinh Nguyen <Thinh.Nguyen@synopsys.com> | 2024-12-11 00:31:36 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-08 10:02:24 +0100 |
commit | e6693595bd1b55af62d057a4136a89d5c2ddf0e9 (patch) | |
tree | 7f1c4818062eae93638fabc5d247b6f26e2c0a1b /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 85241f7de216f8298f6e48540ea13d7dcd100870 (diff) |
usb: gadget: f_tcm: Don't free command immediately
commit c225d006a31949d673e646d585d9569bc28feeb9 upstream.
Don't prematurely free the command. Wait for the status completion of
the sense status. It can be freed then. Otherwise we will double-free
the command.
Fixes: cff834c16d23 ("usb-gadget/tcm: Convert to TARGET_SCF_ACK_KREF I/O krefs")
Cc: stable@vger.kernel.org
Signed-off-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Link: https://lore.kernel.org/r/ae919ac431f16275e05ec819bdffb3ac5f44cbe1.1733876548.git.Thinh.Nguyen@synopsys.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions