net: fix device reference leaks
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 3 repliesIn review
- v14 patches 4 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | phy: fix device reference leaksdrivers/ | +2 | 0 replies | |
| 2/4 | net: ethernet: ti: cpsw: fix device and of_node leaksdrivers/ | +3 | 2 replies | |
| 3/4 | net: ethernet: ti: davinci_emac: fix device reference leakdrivers/ | +6 | 0 replies | |
| 4/4 | net: hns: fix device reference leaksdrivers/ | +7 | 0 replies |
Reviews trailers per patch
1 of 4 patches has a Reviewed-by or Acked-by.
| Patch | Grygorii Strashko |
|---|---|
| 1/4 | |
| 2/4 | R-b |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net v2 0/4] net: fix device reference leaks
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(-)
Signature · 1 line
2.7.3