diff options
author | 2024-12-11 00:31:36 +0000 | |
---|---|---|
committer | 2024-12-24 08:56:05 +0100 | |
commit | c225d006a31949d673e646d585d9569bc28feeb9 (patch) | |
tree | 48d18643eb2e43f4c35aa6cfefc5ccdb3049fa72 /tools/perf/scripts/python | |
parent | platform/chrome: cros_ec_typec: Disable tbt on port (diff) | |
download | wireguard-linux-c225d006a31949d673e646d585d9569bc28feeb9.tar.xz wireguard-linux-c225d006a31949d673e646d585d9569bc28feeb9.zip |
usb: gadget: f_tcm: Don't free command immediately
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')
0 files changed, 0 insertions, 0 deletions