Skip to contentSkip to conversation

Patch "ppp: release rtnl mutex when interface creation fails" has been added to the 4.4-stable tree

PATCH [email protected] 1 participant 1 message Apr 16, 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

ppp: release rtnl mutex when interface creation fails

to the 4.4-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:
ppp-release-rtnl-mutex-when-interface-creation-fails.patch
and it can be found in the queue-4.4 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 Sat Apr 16 10:02:53 PDT 2016

From: Guillaume Nault <[email protected]>
Date: Mon, 7 Mar 2016 19:36:44 +0100
Subject: ppp: release rtnl mutex when interface creation fails

From: Guillaume Nault <[email protected]>

[ Upstream commit 6faac63a6986f29ef39827f460edd3a5ba64ad5c ]

Add missing rtnl_unlock() in the error path of ppp_create_interface().

Fixes 58a89ecaca53 ("ppp: fix lockdep splat in ppp_dev_uninit()")
---
 drivers/net/ppp/ppp_generic.c |    1 +
 1 file changed, 1 insertion(+)
drivers/net/ppp/ppp_generic.c +1 -0
@@ -2803,6 +2803,7 @@ static struct ppp *ppp_create_interface(
 
 out2:
 	mutex_unlock(&pn->all_ppp_mutex);
+	rtnl_unlock();
 	free_netdev(dev);
 out1:
 	*retp = ret;

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

queue-4.4/ppp-release-rtnl-mutex-when-interface-creation-fails.patch queue-4.4/ppp-take-reference-on-channels-netns.patch queue-4.4/ppp-ensure-file-private_data-can-t-be-overridden.patch