mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-21 14:08:26 +00:00
Free the sw structure only after we are done using it.
This patch just moves the put_device() down a bit to avoid the
use after free.
Fixes:
|
||
|---|---|---|
| .. | ||
| class.c | ||
| intel-xhci-usb-role-switch.c | ||
| Kconfig | ||
| Makefile | ||