> I doubt this is caused by a race condition; the first hangup would do most > of the destruction regardless, and a second hangup can't really race with > the first because of the tty_lock() held for most of the hangup. > > In any event, it's worth discovering what state a subsequent hangup can > effect that the first hangup left incomplete. I'll look into it. > > Regards, > Peter Hurley disassociate_ctty races with tty_hangup. tty->pgrp is only protected by ctrl_lock See no_tty and the FIXME note. Sorry the FIXME wasn't clearer. Alan -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html