diff options
| author | Jes Sorensen <Jes.Sorensen@redhat.com> | 2016-04-14 16:37:18 -0400 |
|---|---|---|
| committer | Kalle Valo <kvalo@codeaurora.org> | 2016-04-15 21:38:14 +0300 |
| commit | 6a62f9d5273dbc8ec776717a73a8a223b9e5f38e (patch) | |
| tree | ffedd5e1e4e90e2138ca1e118bf76cb6c552ffda /tools/perf/scripts/python/netdev-times.py | |
| parent | rtl8xxxu: Fix 8188RU support (diff) | |
| download | linux-6a62f9d5273dbc8ec776717a73a8a223b9e5f38e.tar.gz linux-6a62f9d5273dbc8ec776717a73a8a223b9e5f38e.zip | |
rtl8xxxu: Fix OOPS if user tries to add device via /sys
This driver relies on driver_info in struct usb_device_id, so allowing
adding a device via /sys/bus/usb/drivers/rtl8xxxu/new_id will cause a
NULL pointer dereference.
Set .no_dynamic_id = 1 to disable hot add of USB IDs.
Reported-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
