aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorSagi Grimberg <[email protected]>2015-05-20 12:38:58 +0300
committerJames Bottomley <[email protected]>2015-06-02 17:26:32 -0700
commit4ce30874f561faa15e87fcf0592eee14c26cb78b (patch)
treeb2663cad1c58dc8cc3cbddd470a1cd2d6833b335 /tools/perf/scripts/python/netdev-times.py
parente03c2da6574223081b786960e39c1e5ecf5d492d (diff)
iscsi: Fix iscsi endpoints leak
When creating a new endpoint, we look for a free id for the new endpoint. We baisically loop on possible ids and use the first id that class_find_device() returns NULL. However, we are missing a reference put when class_find_device() does find an existing device for a given id. Reported-by: Alex Lyakas <[email protected]> Signed-off-by: Sagi Grimberg <[email protected]> Reviewed-by: Mike Christie <[email protected]> Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions