- usb-skeleton-leaking-locks-on-open.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     usb-skeleton leaking locks on open
has been removed from the -mm tree.  Its filename was
     usb-skeleton-leaking-locks-on-open.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: usb-skeleton leaking locks on open
From: Mark Gross <mgross@xxxxxxxxxxxxxxx>

The code path through skel_open can grap the driver's io_mutex lock and
forget to release it.

Signed-off-by: Mark Gross <mgross@xxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/usb/usb-skeleton.c |    1 +
 1 files changed, 1 insertion(+)

diff -puN drivers/usb/usb-skeleton.c~usb-skeleton-leaking-locks-on-open drivers/usb/usb-skeleton.c
--- a/drivers/usb/usb-skeleton.c~usb-skeleton-leaking-locks-on-open
+++ a/drivers/usb/usb-skeleton.c
@@ -125,6 +125,7 @@ static int skel_open(struct inode *inode
 
 	/* save our object in the file's private structure */
 	file->private_data = dev;
+	mutex_unlock(&dev->io_mutex);
 
 exit:
 	return retval;
_

Patches currently in -mm which might be from mgross@xxxxxxxxxxxxxxx are


-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux