[ofw] [PATCH] Add missing spinlock_release to UAL CEP manager

Fab Tillier ftillier at windows.microsoft.com
Wed Jul 2 10:34:56 PDT 2008


My previous patch to fix CID management missed releasing a spinlock.  This patch adds the missing call.

Signed-off-by: Fab Tillier <ftillier at microsoft.com>

diff -up -r -X trunk\docs\dontdiff.txt -I \$Id: old\core\al\user\ual_cm_cep.c trunk\core\al\user\ual_cm_cep.c
--- old\core\al\user\ual_cm_cep.c       Wed Jul 02 09:53:25 2008
+++ trunk\core\al\user\ual_cm_cep.c     Wed Jul 02 10:31:51 2008
@@ -683,6 +683,7 @@ al_cep_pre_rep(
                }
                *p_cid = p_cep->cid;
                *p_init = ioctl.out.init;
+               cl_spinlock_release( &h_al->obj.lock );
        }

        AL_EXIT( AL_DBG_CM );
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ual_cep_unlock.patch
Type: application/octet-stream
Size: 408 bytes
Desc: ual_cep_unlock.patch
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20080702/b86d8acf/attachment.obj>


More information about the ofw mailing list