[dahdi-commits] tzafrir: linux/trunk r9727 - /linux/trunk/drivers/dahdi/xpp/xpp_dahdi.c
SVN commits to the DAHDI project
dahdi-commits at lists.digium.com
Mon Jan 31 14:16:37 CST 2011
Author: tzafrir
Date: Mon Jan 31 14:16:33 2011
New Revision: 9727
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=9727
Log:
xpp: Missing lock release in xpp_dahdi_unregister
Signed-off-by: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
Modified:
linux/trunk/drivers/dahdi/xpp/xpp_dahdi.c
Modified: linux/trunk/drivers/dahdi/xpp/xpp_dahdi.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/xpp/xpp_dahdi.c?view=diff&rev=9727&r1=9726&r2=9727
==============================================================================
--- linux/trunk/drivers/dahdi/xpp/xpp_dahdi.c (original)
+++ linux/trunk/drivers/dahdi/xpp/xpp_dahdi.c Mon Jan 31 14:16:33 2011
@@ -1065,6 +1065,7 @@
if (!IS_PHONEDEV(xpd)) {
XPD_ERR(xpd, "Not a telephony device\n");
+ spin_unlock_irqrestore(&xpd->lock, flags);
return -EBADF;
}
if(!SPAN_REGISTERED(xpd)) {
More information about the dahdi-commits
mailing list