Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit b5d87425 authored by Eric Holmberg's avatar Eric Holmberg Committed by Stephen Boyd
Browse files

tty: n_smux: Delete power command from list



Remove power command from list before deleting the packet.

Without this fix, if there is a pending power command during a subsystem
restart or a line-discipline unload, then the code will end up in an
infinite loop until the watchdog kicks in and an access after-free check
fails.

Change-Id: Ib8f24598ce1273411a2674d5d61634ffb1944bb1
Signed-off-by: default avatarEric Holmberg <eholmber@codeaurora.org>
parent 4ec26868
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment