aboutsummaryrefslogtreecommitdiff
path: root/fs/cifs/netlink.c
diff options
context:
space:
mode:
authorZhang Xiaoxu <zhangxiaoxu5@huawei.com>2022-10-17 22:45:21 +0800
committerSteve French <stfrench@microsoft.com>2022-10-18 11:33:43 -0500
commitfee0fb1f15054bb6a0ede452acb42da5bef4d587 (patch)
treef8ad43387369c2251f6c90f5bccfce77b38cee00 /fs/cifs/netlink.c
parent9abf2313adc1ca1b6180c508c25f22f9395cc780 (diff)
cifs: Fix xid leak in cifs_create()
If the cifs already shutdown, we should free the xid before return, otherwise, the xid will be leaked. Fixes: 087f757b0129 ("cifs: add shutdown support") 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/netlink.c')
0 files changed, 0 insertions, 0 deletions