summaryrefslogtreecommitdiffstats
path: root/net/mac80211/mesh_hwmp.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-04-11 05:26:55 +0200
committerDavid S. Miller <davem@davemloft.net>2010-04-13 08:46:18 +0200
commite182c77cc291456eed127b1472952ddb59a81a9d (patch)
tree317f39f6360f4f988ca09118fd2e3c23f5619964 /net/mac80211/mesh_hwmp.c
parentsparc64: Add kmemleak annotation to sun4v_build_virq() (diff)
downloadlinux-e182c77cc291456eed127b1472952ddb59a81a9d.tar.xz
linux-e182c77cc291456eed127b1472952ddb59a81a9d.zip
sparc64: Fix memory leak in pci_register_iommu_region().
Found by kmemleak. If request_resource() fails, we leak the struct resource we allocated to represent the IOMMU mapping area. This actually happens on sun4v machines because the IOMEM area is only reported sans the IOMMU region, unlike all previous systems. I'll need to fix that at some point, but for now fix the leak. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211/mesh_hwmp.c')
0 files changed, 0 insertions, 0 deletions