Skip to content

usermodehelper: cleanup/fix __orderly_poweroff() && argv_free()

Oleg Nesterov lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1usermodehelper: cleanup/fix __orderly_poweroff() && argv_free()kernel/sys.c+2 -80 replies

Reviews trailers per patch

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

Read the v1 thread

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.