aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/surface/aggregator/ssh_parser.c
diff options
context:
space:
mode:
authorZhang Xiaoxu <[email protected]>2022-10-17 14:45:23 +0000
committerSteve French <[email protected]>2022-10-18 16:33:43 +0000
commit575e079c782b9862ec2626403922d041a42e6ed6 (patch)
treea475738cb5d1400170cd9b46aed37f4a346b55df /drivers/platform/surface/aggregator/ssh_parser.c
parentcifs: Fix xid leak in cifs_copy_file_range() (diff)
downloadkernel-575e079c782b9862ec2626403922d041a42e6ed6.tar.gz
kernel-575e079c782b9862ec2626403922d041a42e6ed6.zip
cifs: Fix xid leak in cifs_flock()
If not flock, before return -ENOLCK, should free the xid, otherwise, the xid will be leaked. Fixes: d0677992d2af ("cifs: add support for flock") 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