projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
kcm: Destroy mutex in kcm_exit_net()
[linux-2.6-microblaze.git]
/
net
/
kcm
/
kcmsock.c
diff --git
a/net/kcm/kcmsock.c
b/net/kcm/kcmsock.c
index
393f01b
..
4580f61
100644
(file)
--- a/
net/kcm/kcmsock.c
+++ b/
net/kcm/kcmsock.c
@@
-1859,6
+1859,8
@@
static __net_exit void kcm_exit_net(struct net *net)
* that all multiplexors and psocks have been destroyed.
*/
WARN_ON(!list_empty(&knet->mux_list));
+
+ mutex_destroy(&knet->mutex);
}
static struct pernet_operations kcm_net_ops = {