[zaptel-commits] qwell: branch 1.4 r2809 - in /branches/1.4: ./ zaptel-base.c

SVN commits to the Zaptel project zaptel-commits at lists.digium.com
Wed Aug 1 15:21:33 CDT 2007


Author: qwell
Date: Wed Aug  1 15:21:32 2007
New Revision: 2809

URL: http://svn.digium.com/view/zaptel?view=rev&rev=2809
Log:
Merged revisions 2808 via svnmerge from 
https://origsvn.digium.com/svn/zaptel/branches/1.2

........
r2808 | qwell | 2007-08-01 15:21:04 -0500 (Wed, 01 Aug 2007) | 2 lines

Per Matt Fredrickson, we don't want to use GFP_KERNEL while holding a spinlock.

........

Modified:
    branches/1.4/   (props changed)
    branches/1.4/zaptel-base.c

Propchange: branches/1.4/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.

Modified: branches/1.4/zaptel-base.c
URL: http://svn.digium.com/view/zaptel/branches/1.4/zaptel-base.c?view=diff&rev=2809&r1=2808&r2=2809
==============================================================================
--- branches/1.4/zaptel-base.c (original)
+++ branches/1.4/zaptel-base.c Wed Aug  1 15:21:32 2007
@@ -4000,7 +4000,7 @@
 			if ((stack.conf.confmode & ZT_CONF_MODE_MASK) == ZT_CONF_MONITOR_RX_PREECHO ||
 			    (stack.conf.confmode & ZT_CONF_MODE_MASK) == ZT_CONF_MONITOR_TX_PREECHO ||
 			    (stack.conf.confmode & ZT_CONF_MODE_MASK) == ZT_CONF_MONITORBOTH_PREECHO)
-				chans[stack.conf.confno]->readchunkpreec = kmalloc(sizeof(*chans[stack.conf.confno]->readchunkpreec) * ZT_CHUNKSIZE, GFP_KERNEL);
+				chans[stack.conf.confno]->readchunkpreec = kmalloc(sizeof(*chans[stack.conf.confno]->readchunkpreec) * ZT_CHUNKSIZE, GFP_ATOMIC);
 			else {
 				if (chans[stack.conf.confno]->readchunkpreec) {
 					kfree(chans[stack.conf.confno]->readchunkpreec);




More information about the zaptel-commits mailing list