Patch "ibmvnic: Free tx/rx scrq pointer array when releasing sub-crqs" has been added to the 4.9-stable tree
This is a note to let you know that I've just added the patch titled
ibmvnic: Free tx/rx scrq pointer array when releasing sub-crqs
to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
ibmvnic-free-tx-rx-scrq-pointer-array-when-releasing-sub-crqs.patch
and it can be found in the queue-4.9 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From foo@baz Thu Oct 5 10:28:31 CEST 2017
From: Nathan Fontenot <[email protected]>
Date: Wed, 15 Mar 2017 23:38:07 -0400
Subject: ibmvnic: Free tx/rx scrq pointer array when releasing sub-crqs
From: Nathan Fontenot <[email protected]>
[ Upstream commit 9501df3cd9204f5859f649182431616a31ee88a1 ]
The pointer array for the tx/rx sub crqs should be free'ed when releasing the tx/rx sub crqs.
--- drivers/net/ethernet/ibm/ibmvnic.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/net/ethernet/ibm/ibmvnic.c +2 -0
@@ -1253,6 +1253,7 @@ static void release_sub_crqs(struct ibmvrelease_sub_crq_queue (adapter, adapter->tx_scrq[i]); } +kfree (adapter->tx_scrq); adapter->tx_scrq =NULL ; }
@@ -1265,6 +1266,7 @@ static void release_sub_crqs(struct ibmvrelease_sub_crq_queue (adapter, adapter->rx_scrq[i]); } +kfree (adapter->rx_scrq); adapter->rx_scrq =NULL ; }
Patches currently in stable-queue which might be from [email protected] are
queue-4.9/ibmvnic-free-tx-rx-scrq-pointer-array-when-releasing-sub-crqs.patch