diff options
author | Thomas Falcon <tlfalcon@linux.vnet.ibm.com> | 2016-07-06 15:35:16 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-07-09 17:42:10 -0400 |
commit | 88eb98a0178219e1d6e9037b71d293f19b89eef2 (patch) | |
tree | fc2c33614cd2b98cc4eaeb94b54fae2cbc3ec152 /drivers | |
parent | b8efb894e672bd0080126c68a076ddcacfcbc0ef (diff) | |
download | op-kernel-dev-88eb98a0178219e1d6e9037b71d293f19b89eef2.zip op-kernel-dev-88eb98a0178219e1d6e9037b71d293f19b89eef2.tar.gz |
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 f04830e..79d2ab3 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]); } |