aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorPrarit Bhargava <[email protected]>2015-05-05 18:36:17 -0400
committerGreg Kroah-Hartman <[email protected]>2015-05-08 15:26:01 +0200
commit10c69bb7d9c492666690f2bd359493c2e900865b (patch)
treeded9faafb7d9e0b7081b0caba51255f294b23d1a /tools/perf/scripts/python/net_dropmonitor.py
parent2ee0deec49bd1aded66bc7b017af35f8723ff9ef (diff)
staging: unisys: visorchannel cleanup visorchannel_create_guts()
The error handling in this function was broken and while looking at that I noticed that the whole function was in need of cleanup. This patch fixes the error handling, specifically if (!p) { visorchannel_destroy(p); channel = NULL; } and does a lot of cleanup. I also verified that the called functions returned correct errors, and that led to a change in visor_memregion_resize(), visorchannel_destroy() and visor_memregion_destroy(). Signed-off-by: Prarit Bhargava <[email protected]> Signed-off-by: Benjamin Romer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions