* Patch "ppp: release rtnl mutex when interface creation fails" has been added to the 4.4-stable tree
@ 2016-04-16 17:06 gregkh
0 siblings, 0 replies; only message in thread
From: gregkh @ 2016-04-16 17:06 UTC (permalink / raw)
To: g.nault, davem, gregkh; +Cc: stable, stable-commits
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 <stable@vger.kernel.org> know about it.
>From foo@baz Sat Apr 16 10:02:53 PDT 2016
From: Guillaume Nault <g.nault@alphalink.fr>
Date: Mon, 7 Mar 2016 19:36:44 +0100
Subject: ppp: release rtnl mutex when interface creation fails
From: Guillaume Nault <g.nault@alphalink.fr>
[ 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()")
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
drivers/net/ppp/ppp_generic.c | 1 +
1 file changed, 1 insertion(+)
--- a/drivers/net/ppp/ppp_generic.c
+++ b/drivers/net/ppp/ppp_generic.c
@@ -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 g.nault@alphalink.fr 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-04-16 17:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-16 17:06 Patch "ppp: release rtnl mutex when interface creation fails" has been added to the 4.4-stable tree gregkh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).