|
@@ -1453,6 +1453,7 @@ struct tsap_cb *irttp_dup(struct tsap_cb *orig, void *instance)
|
|
}
|
|
}
|
|
/* Dup */
|
|
/* Dup */
|
|
memcpy(new, orig, sizeof(struct tsap_cb));
|
|
memcpy(new, orig, sizeof(struct tsap_cb));
|
|
|
|
+ spin_lock_init(&new->lock);
|
|
|
|
|
|
/* We don't need the old instance any more */
|
|
/* We don't need the old instance any more */
|
|
spin_unlock_irqrestore(&irttp->tsaps->hb_spinlock, flags);
|
|
spin_unlock_irqrestore(&irttp->tsaps->hb_spinlock, flags);
|