netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net 0/2] r8152: Fix a regression with usbguard
@ 2023-12-23 23:35 Maxim Mikityanskiy
  2023-12-23 23:35 ` [PATCH net 1/2] USB: Allow usb_device_driver to override usb_choose_configuration Maxim Mikityanskiy
  2023-12-23 23:35 ` [PATCH net 2/2] r8152: Switch to using choose_configuration Maxim Mikityanskiy
  0 siblings, 2 replies; 6+ messages in thread
From: Maxim Mikityanskiy @ 2023-12-23 23:35 UTC (permalink / raw)
  To: David S. Miller, Bjørn Mork, Greg Kroah-Hartman, Hayes Wang
  Cc: Eric Dumazet, Jakub Kicinski, Paolo Abeni, Douglas Anderson,
	Grant Grundler, linux-usb, netdev, Maxim Mikityanskiy

Introduction of r8152-cfgselector broke hotplug of Realtek USB NICs on
machines that use usbguard. These patches are supposed to fix it.

Tested on RTL8153 (0bda:8153) that has two configuration descriptors:
vendor and CDC.

P.S. I'm not sure whether it's supposed to go through the USB or netdev
tree, therefore submitting to both mailing lists and marking for "net",
but please advise.

Maxim Mikityanskiy (2):
  USB: Allow usb_device_driver to override usb_choose_configuration
  r8152: Switch to using choose_configuration

 drivers/net/usb/r8152.c    | 18 +++++++++---------
 drivers/usb/core/generic.c | 10 ++++++++++
 include/linux/usb.h        |  3 +++
 3 files changed, 22 insertions(+), 9 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-12-26 10:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-23 23:35 [PATCH net 0/2] r8152: Fix a regression with usbguard Maxim Mikityanskiy
2023-12-23 23:35 ` [PATCH net 1/2] USB: Allow usb_device_driver to override usb_choose_configuration Maxim Mikityanskiy
2023-12-23 23:35 ` [PATCH net 2/2] r8152: Switch to using choose_configuration Maxim Mikityanskiy
2023-12-26  7:18   ` Grant Grundler
2023-12-26  7:42     ` Grant Grundler
2023-12-26 10:21       ` Maxim Mikityanskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).