aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorRuss Gorby <[email protected]>2012-08-13 13:44:40 +0100
committerGreg Kroah-Hartman <[email protected]>2012-08-16 12:03:30 -0700
commit5e44708f75b0f8712da715d6babb0c21089b2317 (patch)
treee5f4f2ecd25649b5d47589ba2cf919c4e92ed222 /tools/perf/scripts/python/sctop.py
parent10c6c383e43565c9c6ec07ff8eb2825f8091bdf0 (diff)
n_gsm: added interlocking for gsm_data_lock for certain code paths
There were some locking holes in the management of the MUX's message queue for 2 code paths: 1) gsmld_write_wakeup 2) receipt of CMD_FCON flow-control message In both cases gsm_data_kick is called w/o locking so it can collide with other other instances of gsm_data_kick (pulling messages tx_tail) or potentially other instances of __gsm_data_queu (adding messages to tx_head) Changed to take the tx_lock in these 2 cases Signed-off-by: Russ Gorby <[email protected]> Tested-by: Yin, Fengwei <[email protected]> Signed-off-by: Alan Cox <[email protected]> Cc: Riding School <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions