aboutsummaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorDaniel Starke <[email protected]>2022-07-01 14:23:32 +0200
committerGreg Kroah-Hartman <[email protected]>2022-07-01 14:47:06 +0200
commit7349660438603ed19282e75949561406531785a5 (patch)
treeddfacb6dd34b769370e22488996244b22821d57c /scripts/stackusage
parent0af021678d5d30c31f5a6b631f404ead3575212a (diff)
tty: n_gsm: fix resource allocation order in gsm_activate_mux()
Within gsm_activate_mux() all timers and locks are initiated before the actual resource for the control channel is allocated. This can lead to race conditions. Allocate the control channel DLCI object first to avoid race conditions. Fixes: e1eaea46bb40 ("tty: n_gsm line discipline") Signed-off-by: Daniel Starke <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions