usermodehelper: cleanup/fix __orderly_poweroff() && argv_free()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 patch 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | usermodehelper: cleanup/fix __orderly_poweroff() && argv_free()kernel/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/1] usermodehelper: cleanup/fix __orderly_poweroff() && argv_free()
Quoted 3 lines · Lucas De Marchi
it was risking running the cleanup twice (like kernel/sys.c:orderly_poweroff()) and if not, a leak could happen.
As for kernel/sys.c:orderly_poweroff(), it simply doesn't need argv_cleanup() and -ENOMEM check, see 1/1.
Oleg.