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]
Date: Sat, 02 Dec 2023 20:11:17 +0100
From: Bjørn Mork <>
To: Douglas Anderson <>
Cc:, Greg Kroah-Hartman <>,
        "David S . Miller" <>,
        Eric Dumazet <>, Jakub Kicinski <>,
        Paolo Abeni <>,
        Grant Grundler <>,
        Hayes Wang <>, Simon Horman <>,, Brian Geffon <>,
        Alan Stern <>,
Subject: Re: [PATCH v2 2/3] usb: core: Allow subclassed USB drivers to
 override usb_choose_configuration()

Douglas Anderson <> writes:

> The r8152 driver tried to make things work by implementing a USB
> generic_subclass driver and then overriding the normal config
> selection after it happened. This is less than ideal and also caused
> breakage if someone deauthorized and re-authorized the USB device
> because the USB core ended up going back to it's default logic for
> choosing the best config. I made an attempt to fix this [1] but it was
> a bit ugly.
> Let's do this better and allow USB generic_subclass drivers to
> override usb_choose_configuration().
> [1]
> Suggested-by: Alan Stern <>
> Signed-off-by: Douglas Anderson <>

Brilliant!  Thanks for doing this.  It is obviously what I should have
done in the first place if I had been smart enough.


Powered by blists - more mailing lists