> + spin_lock_irqsave(&dc->spin_mutex, flags); > if (port->port.count) > room = kfifo_avail(&port->fifo_ul); > - mutex_unlock(&port->tty_sem); > + spin_unlock_irqrestore(&dc->spin_mutex, flags); dc->spin_mutex does not protect port->port.count. -- To unsubscribe from this list: send the line "unsubscribe linux-ppp" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html