summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorThinh Nguyen <Thinh.Nguyen@synopsys.com>2024-12-11 00:31:36 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-02-08 09:58:16 +0100
commit929b69810eec132b284ffd19047a85d961df9e4d (patch)
tree1d109c88d1c11c2d7edd9ec380ce94aba6f8bed5 /scripts/basic
parent7e5ee3281dc09014367f5112b6d566ba36ea2d49 (diff)
downloadlinux-929b69810eec132b284ffd19047a85d961df9e4d.tar.gz
linux-929b69810eec132b284ffd19047a85d961df9e4d.tar.bz2
linux-929b69810eec132b284ffd19047a85d961df9e4d.zip
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 'scripts/basic')
0 files changed, 0 insertions, 0 deletions