aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorJose Abreu2019-01-09 10:05:56 +0100
committerDavid S. Miller2019-01-11 15:35:06 -0800
commit6dea7e1881fd86b80da64e476ac398008daed857 (patch)
tree73ca61cfe62d08b6033eee71dfe6757ef080d698 /security
parente8b108b050e84b6d7497d2cd29fe7623d0a33ed6 (diff)
net: stmmac: Fix PCI module removal leak
Since commit b7d0f08e9129, the enable / disable of PCI device is not managed which will result in IO regions not being automatically unmapped. As regions continue mapped it is currently not possible to remove and then probe again the PCI module of stmmac. Fix this by manually unmapping regions on remove callback. Changes from v1: - Fix build error Cc: Joao Pinto <jpinto@synopsys.com> Cc: David S. Miller <davem@davemloft.net> Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com> Cc: Alexandre Torgue <alexandre.torgue@st.com> Fixes: b7d0f08e9129 ("net: stmmac: Fix WoL for PCI-based setups") Signed-off-by: Jose Abreu <joabreu@synopsys.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions