aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorFabio Estevam <[email protected]>2015-08-10 14:22:43 -0300
committerDavid S. Miller <[email protected]>2015-08-10 21:10:31 -0700
commit9d332d92a95c9c67abe08b5f7cba64d8fc1e3c76 (patch)
tree8a659d60ce53b7874e61be581820ab9cb5e9d048 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent182554570a3f01457202206ac784b488cd190f75 (diff)
mkiss: Fix error handling in mkiss_open()
If register_netdev() fails we are not propagating the error and we return success because ax_open() succeeded previously. Fix this by checking the return value of ax_open() and register_netdev() and propagate the error in case of failure. Reported-by: RUC_Soft_Sec <[email protected]> Signed-off-by: Fabio Estevam <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions