Skip to contentSkip to conversation

Patch "i40e: remove a stray unlock" has been added to the 4.8-stable tree

PATCH [email protected] 1 participant 1 message Oct 28, 2016

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

i40e: remove a stray unlock

to the 4.8-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:
i40e-remove-a-stray-unlock.patch
and it can be found in the queue-4.8 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 be0cb0a66a1d426f7cd9b170c008725044ae147a Mon Sep 17 00:00:00 2001

From: Dan Carpenter <[email protected]>
Date: Wed, 3 Aug 2016 22:01:07 +0300
Subject: i40e: remove a stray unlock

From: Dan Carpenter <[email protected]>

commit be0cb0a66a1d426f7cd9b170c008725044ae147a upstream.

We shifted the locking around a bit but forgot to delete this unlock so now it can unlock twice.

Fixes cd3be169a5ff ('i40e: Move the mutex lock in i40e_client_unregister')
---
 drivers/net/ethernet/intel/i40e/i40e_client.c |    1 -
 1 file changed, 1 deletion(-)
drivers/net/ethernet/intel/i40e/i40e_client.c +0 -1
@@ -1009,7 +1009,6 @@ int i40e_unregister_client(struct i40e_c
 	if (!i40e_client_is_registered(client)) {
 		pr_info("i40e: Client %s has not been registered\n",
 			client->name);
-		mutex_unlock(&i40e_client_mutex);
 		ret = -ENODEV;
 		goto out;
 	}

Patches currently in stable-queue which might be from [email protected] are

queue-4.8/i40e-remove-a-stray-unlock.patch