Commit 88eb98a0 authored by Thomas Falcon's avatar Thomas Falcon Committed by David S. Miller

ibmvnic: dispose irq mappings

IRQ mappings were not being properly disposed when releasing sub-CRQ's.
Signed-off-by: default avatarThomas Falcon <tlfalcon@linux.vnet.ibm.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b8efb894
...@@ -1257,6 +1257,7 @@ static void release_sub_crqs(struct ibmvnic_adapter *adapter) ...@@ -1257,6 +1257,7 @@ static void release_sub_crqs(struct ibmvnic_adapter *adapter)
if (adapter->tx_scrq[i]) { if (adapter->tx_scrq[i]) {
free_irq(adapter->tx_scrq[i]->irq, free_irq(adapter->tx_scrq[i]->irq,
adapter->tx_scrq[i]); adapter->tx_scrq[i]);
irq_dispose_mapping(adapter->tx_scrq[i]->irq);
release_sub_crq_queue(adapter, release_sub_crq_queue(adapter,
adapter->tx_scrq[i]); adapter->tx_scrq[i]);
} }
...@@ -1268,6 +1269,7 @@ static void release_sub_crqs(struct ibmvnic_adapter *adapter) ...@@ -1268,6 +1269,7 @@ static void release_sub_crqs(struct ibmvnic_adapter *adapter)
if (adapter->rx_scrq[i]) { if (adapter->rx_scrq[i]) {
free_irq(adapter->rx_scrq[i]->irq, free_irq(adapter->rx_scrq[i]->irq,
adapter->rx_scrq[i]); adapter->rx_scrq[i]);
irq_dispose_mapping(adapter->rx_scrq[i]->irq);
release_sub_crq_queue(adapter, release_sub_crq_queue(adapter,
adapter->rx_scrq[i]); adapter->rx_scrq[i]);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment