projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1c9fe7
)
[DCCP]: Set dccp_ctl_socket to NULL in dccp_ctl_sock_exit
author
Arnaldo Carvalho de Melo
<acme@mandriva.com>
Thu, 18 Aug 2005 23:47:02 +0000
(20:47 -0300)
committer
David S. Miller
<davem@sunset.davemloft.net>
Mon, 29 Aug 2005 23:02:22 +0000
(16:02 -0700)
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/proto.c
patch
|
blob
|
history
diff --git
a/net/dccp/proto.c
b/net/dccp/proto.c
index
0b715ce
..
8b613c3
100644
(file)
--- a/
net/dccp/proto.c
+++ b/
net/dccp/proto.c
@@
-506,8
+506,10
@@
static int __init dccp_ctl_sock_init(void)
#ifdef CONFIG_IP_DCCP_UNLOAD_HACK
void dccp_ctl_sock_exit(void)
{
- if (dccp_ctl_socket != NULL)
+ if (dccp_ctl_socket != NULL)
{
sock_release(dccp_ctl_socket);
+ dccp_ctl_socket = NULL;
+ }
}
EXPORT_SYMBOL_GPL(dccp_ctl_sock_exit);