diff options
author | Thomas Falcon <tlfalcon@linux.vnet.ibm.com> | 2016-07-06 22:35:16 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-07-09 23:42:10 +0200 |
commit | 88eb98a0178219e1d6e9037b71d293f19b89eef2 (patch) | |
tree | fc2c33614cd2b98cc4eaeb94b54fae2cbc3ec152 /drivers | |
parent | ibmvnic: properly start and stop tx queues (diff) | |
download | linux-88eb98a0178219e1d6e9037b71d293f19b89eef2.tar.xz linux-88eb98a0178219e1d6e9037b71d293f19b89eef2.zip |
ibmvnic: dispose irq mappings
IRQ mappings were not being properly disposed when releasing sub-CRQ's.
Signed-off-by: Thomas Falcon <tlfalcon@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/ibm/ibmvnic.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/ibm/ibmvnic.c b/drivers/net/ethernet/ibm/ibmvnic.c index f04830e237d9..79d2ab360805 100644 --- a/drivers/net/ethernet/ibm/ibmvnic.c +++ b/drivers/net/ethernet/ibm/ibmvnic.c @@ -1257,6 +1257,7 @@ static void release_sub_crqs(struct ibmvnic_adapter *adapter) if (adapter->tx_scrq[i]) { free_irq(adapter->tx_scrq[i]->irq, adapter->tx_scrq[i]); + irq_dispose_mapping(adapter->tx_scrq[i]->irq); release_sub_crq_queue(adapter, adapter->tx_scrq[i]); } @@ -1268,6 +1269,7 @@ static void release_sub_crqs(struct ibmvnic_adapter *adapter) if (adapter->rx_scrq[i]) { free_irq(adapter->rx_scrq[i]->irq, adapter->rx_scrq[i]); + irq_dispose_mapping(adapter->rx_scrq[i]->irq); release_sub_crq_queue(adapter, adapter->rx_scrq[i]); } |