RFC prevent premature device unregister via
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest1 patch 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | net: wwan: core: explicit WWAN device reference countingdrivers/ | +9 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/1] prevent premature device unregister via
Initially I was unable to hit or reproduce the issue with hwsim since it unregister the WWAN device ops as a last step effectively holding the WWAN device when all the regular WWAN ports are already removed. Thanks to the detiled report of Daniele and the fix proposed by Loic, it became obvious what a releasing sequence leads to the crash.
With WWAN device ops unregistration done first in hwsim, I was able to easily reproduce the WWAN device premature unregister, and develop another fix avoiding a dummy port allocation and relying on a reference counting. See details in the RFC patch.
Loic, what do you think about this way of the users tracking?
Slark, if you would like to go with the proposed patch, just remove the patch #7 from the series and insert the proposed patch between between #1 and #2. Of if you prefer, I can reassemble the whole series and send it as RFC v5.
Signature · 1 line
2.52.0