netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1] be2net: Don't leak iomapped memory on removal.
@ 2016-03-03 22:35 Douglas Miller
  2016-03-03 22:35 ` [PATCH 1/1] " Douglas Miller
  0 siblings, 1 reply; 4+ messages in thread
From: Douglas Miller @ 2016-03-03 22:35 UTC (permalink / raw)
  To: netdev
  Cc: sathya.perla, ajit.khaparde, padmanabh.ratnakar,
	sriharsha.basavapatna, somnath.kotur

The adapter->pcicfg resource is either mapped via pci_iomap() or
derived from adapter->db. During be_remove() this resource was ignored
and so could remain mapped after remove.
    
Add a flag to track whether adapter->pcicfg was mapped or not, then
use that flag in be_unmap_pci_bars() to unmap if required.
    
Signed-off-by: Douglas Miller <dougmill@linux.vnet.ibm.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-03-04 13:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-03 22:35 [PATCH 0/1] be2net: Don't leak iomapped memory on removal Douglas Miller
2016-03-03 22:35 ` [PATCH 1/1] " Douglas Miller
2016-03-04  5:00   ` Sathya Perla
2016-03-04 13:18   ` Sergei Shtylyov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).