Skip to content

r8152: Fix a regression with usbguard

Maxim Mikityanskiy linux-usb netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2USB: Allow usb_device_driver to override usb_choose_configurationdrivers/usb/core/generic.c include/linux/usb.h+13 -00 replies
2/2r8152: Switch to using choose_configurationdrivers/net/usb/r8152.c+9 -93 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net 0/2] r8152: Fix a regression with usbguard

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(-)
Signature · 1 line
2.43.0