[asterisk-bugs] [DAHDI-linux 0015875]: [patch] race condition in handling writes to proslic LINEFEED register (64)

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Sep 14 15:53:30 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15875 
====================================================================== 
Reported By:                dbailey
Assigned To:                dbailey
====================================================================== 
Project:                    DAHDI-linux
Issue ID:                   15875
Category:                   wctdm24xxp
Reproducibility:            sometimes
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2009-09-10 16:20 CDT
Last Modified:              2009-09-14 15:53 CDT
====================================================================== 
Summary:                    [patch] race condition in handling writes to proslic
LINEFEED register (64)
Description: 
Originally reported on asterisk-users by Barry Miller.  

The wctdm24xxp driver has a problem where a VMWI IOCTL call followed
immediately by a ONHOOKTRANSFER IOCTL call will cause the ONHOOK transfer
request to be dropped.  This occurs if the write to the proslic's LINEFEED
register for the VMWI ICTL call is not completed when the ONHOOK transfer
request IOCTL is processed. 


====================================================================== 

---------------------------------------------------------------------- 
 (0110634) svnbot (reporter) - 2009-09-14 15:53
 https://issues.asterisk.org/view.php?id=15875#c110634 
---------------------------------------------------------------------- 
Repository: dahdi
Revision: 7117

U   linux/trunk/drivers/dahdi/proslic.h
U   linux/trunk/drivers/dahdi/wctdm24xxp/base.c
U   linux/trunk/drivers/dahdi/wctdm24xxp/wctdm24xxp.h

------------------------------------------------------------------------
r7117 | dbailey | 2009-09-14 15:53:30 -0500 (Mon, 14 Sep 2009) | 17 lines

Race condition in handling writes to proslic LINEFEED register (64)

The wctdm24xxp driver has a problem where a VMWI IOCTL call followed
immediately
by a ONHOOKTRANSFER IOCTL call will cause the ONHOOK transfer request to
be
dropped. This occurs if the write to the proslic's LINEFEED register for
the
VMWI ICTL call is not completed when the ONHOOK transfer request IOCTL is
processed.

I also cleaned out some magic numbers used in setting the linefeed
register.

(closes issue https://issues.asterisk.org/view.php?id=15875)
Reported by: dbailey
Patches:
      15875-wctdm24xxp.diff uploaded by dbailey (license 819)
Tested by: dbailey


------------------------------------------------------------------------

http://svn.digium.com/view/dahdi?view=rev&revision=7117 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-09-14 15:53 svnbot         Checkin                                      
2009-09-14 15:53 svnbot         Note Added: 0110634                          
======================================================================




More information about the asterisk-bugs mailing list