aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorJohan Hovold <[email protected]>2016-11-03 18:40:22 +0100
committerDavid S. Miller <[email protected]>2016-11-07 13:17:30 -0500
commit2271150bfb814b72ec57ae2fdf66e39da2eafafd (patch)
treee5416d0f9b795b5a888ab77c95f20d535479115f /scripts/gdb/linux/utils.py
parent6bed0118012ea350acbe606ab3ae0ed3d60ed5f3 (diff)
net: hns: fix device reference leaks
Make sure to drop the reference taken by class_find_device() in hnae_get_handle() on errors and when later releasing the handle. Fixes: 6fe6611ff275 ("net: add Hisilicon Network Subsystem...") Cc: Yisen Zhuang <[email protected]> Cc: Salil Mehta <[email protected]> Signed-off-by: Johan Hovold <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions