summaryrefslogtreecommitdiff
path: root/fs/cifs/transport.c
diff options
context:
space:
mode:
authorZhang Xiaoxu <zhangxiaoxu5@huawei.com>2022-10-17 22:45:25 +0800
committerSteve French <stfrench@microsoft.com>2022-10-18 11:33:43 -0500
commit10269f13257d4eb6061d09ccce61666316df9838 (patch)
tree0847a816afcaede99b1379238c6626d864d5bc76 /fs/cifs/transport.c
parente909d054bdea75ef1ec48c18c5936affdaecbb2c (diff)
downloadlinux-next-10269f13257d4eb6061d09ccce61666316df9838.tar.gz
cifs: Fix xid leak in cifs_get_file_info_unix()
If stardup the symlink target failed, should free the xid, otherwise the xid will be leaked. Fixes: 76894f3e2f71 ("cifs: improve symlink handling for smb2+") Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz> Signed-off-by: Zhang Xiaoxu <zhangxiaoxu5@huawei.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/transport.c')
0 files changed, 0 insertions, 0 deletions