aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorClément Calmels <[email protected]>2014-06-03 23:34:25 +0200
committerChristoph Hellwig <[email protected]>2014-07-17 22:07:32 +0200
commit8d964478b2d124fcfde8017d02d4d70ae20802f2 (patch)
tree3bdf7252f41c91a6f8e2b84d9c6494451087d2a2 /tools/perf/scripts/python/net_dropmonitor.py
parentcb2fb68d064c16a559483651132815cc378fd1f9 (diff)
sd: bad return code of init_sd
In init_sd function, if kmem_cache_create or mempool_create_slab_pools calls fail, the error will not be correclty reported because class_register previously set the value of err to 0. Signed-off-by: Clément Calmels <[email protected]> Reviewed-by: Ewan D. Milne <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions