projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[NETNS]: Consolidate kernel netlink socket destruction.
[deliverable/linux.git]
/
fs
/
ecryptfs
/
netlink.c
diff --git
a/fs/ecryptfs/netlink.c
b/fs/ecryptfs/netlink.c
index 9aa345121e09cf2bf2f600259f95a03557f85de3..f638a698dc525350bc44054f567217d52c0fca71 100644
(file)
--- a/
fs/ecryptfs/netlink.c
+++ b/
fs/ecryptfs/netlink.c
@@
-237,7
+237,6
@@
out:
*/
void ecryptfs_release_netlink(void)
{
- if (ecryptfs_nl_sock && ecryptfs_nl_sock->sk_socket)
- sock_release(ecryptfs_nl_sock->sk_socket);
+ netlink_kernel_release(ecryptfs_nl_sock);
ecryptfs_nl_sock = NULL;
}
This page took
0.026704 seconds
and
5
git commands to generate.