summaryrefslogtreecommitdiff
path: root/drivers/usb/host
diff options
context:
space:
mode:
authorDing Hui <dinghui@sangfor.com.cn>2021-08-17 22:55:10 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-09-22 11:41:26 +0200
commitd4a127e2a11650ead18d0307268dbe3c9a687468 (patch)
tree462070060227a93a2cb44868864fedfee0a37401 /drivers/usb/host
parenta6da39dc4c4b525ee695eee830d1c506103cc6eb (diff)
cifs: fix wrong release in sess_alloc_buffer() failed path
[ Upstream commit d72c74197b70bc3c95152f351a568007bffa3e11 ] smb_buf is allocated by small_smb_init_no_tc(), and buf type is CIFS_SMALL_BUFFER, so we should use cifs_small_buf_release() to release it in failed path. Signed-off-by: Ding Hui <dinghui@sangfor.com.cn> Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz> Signed-off-by: Steve French <stfrench@microsoft.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/usb/host')
0 files changed, 0 insertions, 0 deletions