aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorRuss Gorby <[email protected]>2012-08-13 13:44:59 +0100
committerGreg Kroah-Hartman <[email protected]>2012-08-16 12:03:30 -0700
commitb4338e1efc339986cf6c0a3652906e914a86e2d3 (patch)
treeb7cad6cedd3a74c6c9f01ed74720999d2a16637e /tools/perf/scripts/python/sctop.py
parent5e44708f75b0f8712da715d6babb0c21089b2317 (diff)
n_gsm: avoid accessing freed memory during CMD_FCOFF condition
gsm_data_kick was recently modified to allow messages on the tx queue bound for DLCI0 to flow even during FCOFF conditions. Unfortunately we introduced a bug discovered by code inspection where subsequent list traversers can access freed memory if the DLCI0 messages were not all at the head of the list. Replaced singly linked tx list w/ a list_head and used provided interfaces for traversing and deleting members. 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