Re: [PATCH] cdc_acm: add reset_resume method

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> +	if (acm->port.count) {
> +		tty = tty_port_tty_get(&acm->port);
> +		if (tty) {
> +			tty_hangup(tty);
> +			tty_kref_put(tty);
> +		}

What locking do you have against a parallel open, hangup or close event on
another CPU ?

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux