lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090727175525.20ac4869@lxorguk.ukuu.org.uk>
Date:	Mon, 27 Jul 2009 17:55:25 +0100
From:	Alan Cox <alan@...rguk.ukuu.org.uk>
To:	"Carlos R. Mafra" <crmafra2@...il.com>
Cc:	Alan Stern <stern@...land.harvard.edu>,
	Ferenc Wagner <wferi@...f.hu>, Greg KH <greg@...ah.com>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	Kernel Testers List <kernel-testers@...r.kernel.org>,
	USB list <linux-usb@...r.kernel.org>,
	Kay Sievers <kay.sievers@...y.org>,
	"Rafael J. Wysocki" <rjw@...k.pl>
Subject: Re: [Bisected] [Bug #13821] Replugging USB serial converter uses
 new device node

> > Another thing to check is whether this patch (not yet merged) fixes it:
> > 
> > 	http://marc.info/?l=linux-usb&m=124825571403844&w=2
> 
> No, unfortunately it does not fix it. I've just tested it.

I wouldn't expect it to.

In the ppp case you have this occuring on an unplug

	USB layer
		unplug
		hangup tty
	PPPD
		SIGHUP
		ouch
		log stuff
		close down

However at the same time that PPPD is logging stuff and closing down th
USB layer is going to see the replug if you just unplug/replug quickly
and in that case you will get ttyUSB1. That aspect is timing dependant.

If everything has closed down and given the port back before you replug
it you should get ttyUSB0 again.
#
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ