Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2018-08-23 08:22:52 +0200
committerTakashi Iwai <tiwai@suse.de>2018-08-23 08:23:01 +0200
commit414e82aa45a218df2e3fd054949e9df1c3ecddbe (patch)
tree8a31f8929d8c7baa0d1b495bfe8645e4f8a7660d
parent9e5603568cdf3acfeb1b3aa31143fb37d8b4707a (diff)
ppp: Destroy the mutex when cleanup (bsc#1051510).
-rw-r--r--drivers/net/ppp/ppp_generic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ppp/ppp_generic.c b/drivers/net/ppp/ppp_generic.c
index 4378a9d472f2..937a5f577da8 100644
--- a/drivers/net/ppp/ppp_generic.c
+++ b/drivers/net/ppp/ppp_generic.c
@@ -958,6 +958,7 @@ static __net_exit void ppp_exit_net(struct net *net)
unregister_netdevice_many(&list);
rtnl_unlock();
+ mutex_destroy(&pn->all_ppp_mutex);
idr_destroy(&pn->units_idr);
}