lkml.org 
[lkml]   [2016]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH net v2 0/4] net: fix device reference leaks
Date
This series fixes a number of device reference leaks (and one of_node
leak) due to failure to drop the references taken by bus_find_device()
and friends.

Note that the final two patches have been compile tested only.

Thanks,
Johan


v2
- hold reference to cpsw-phy-sel device while accessing private data as
requested by David. Also update the commit message. (patch 1/4)
- add linux-omap on CC where appropriate


Johan Hovold (4):
phy: fix device reference leaks
net: ethernet: ti: cpsw: fix device and of_node leaks
net: ethernet: ti: davinci_emac: fix device reference leak
net: hns: fix device reference leaks

drivers/net/ethernet/hisilicon/hns/hnae.c | 8 +++++++-
drivers/net/ethernet/ti/cpsw-phy-sel.c | 3 +++
drivers/net/ethernet/ti/davinci_emac.c | 10 ++++++----
drivers/net/phy/phy_device.c | 2 ++
4 files changed, 18 insertions(+), 5 deletions(-)

--
2.7.3

\
 
 \ /
  Last update: 2016-11-03 18:41    [W:0.166 / U:0.456 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site