[IRDA]: Lockdep fix.
[deliverable/linux.git] / net / irda / irlmp.c
index 5073261b9d0c875d7884cf280866f6b324bb36ba..fede83763095085c36d4866c29eeb08d477464e5 100644 (file)
@@ -1678,7 +1678,8 @@ static int irlmp_slsap_inuse(__u8 slsap_sel)
         *  every IrLAP connection and check every LSAP associated with each
         *  the connection.
         */
-       spin_lock_irqsave(&irlmp->links->hb_spinlock, flags);
+       spin_lock_irqsave_nested(&irlmp->links->hb_spinlock, flags,
+                       SINGLE_DEPTH_NESTING);
        lap = (struct lap_cb *) hashbin_get_first(irlmp->links);
        while (lap != NULL) {
                IRDA_ASSERT(lap->magic == LMP_LAP_MAGIC, goto errlap;);
This page took 0.028065 seconds and 5 git commands to generate.