diff options
| author | Zhang Xiaoxu <[email protected]> | 2022-10-17 14:45:21 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2022-10-18 16:33:43 +0000 |
| commit | fee0fb1f15054bb6a0ede452acb42da5bef4d587 (patch) | |
| tree | f8ad43387369c2251f6c90f5bccfce77b38cee00 /drivers/platform/surface/aggregator/ssh_parser.c | |
| parent | Linux 6.1-rc1 (diff) | |
| download | kernel-fee0fb1f15054bb6a0ede452acb42da5bef4d587.tar.gz kernel-fee0fb1f15054bb6a0ede452acb42da5bef4d587.zip | |
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) <[email protected]>
Signed-off-by: Zhang Xiaoxu <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_parser.c')
0 files changed, 0 insertions, 0 deletions
