Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
992c0e15
Commit
992c0e15
authored
May 13, 2003
by
Daniel McNeil
Committed by
David S. Miller
May 13, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IPV6]: Missing kmem_cache_destroy calls.
parent
20a73944
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
5 deletions
+9
-5
net/ipv6/af_inet6.c
net/ipv6/af_inet6.c
+3
-0
net/ipv6/ip6_fib.c
net/ipv6/ip6_fib.c
+5
-5
net/ipv6/route.c
net/ipv6/route.c
+1
-0
No files found.
net/ipv6/af_inet6.c
View file @
992c0e15
...
@@ -871,6 +871,9 @@ static void inet6_exit(void)
...
@@ -871,6 +871,9 @@ static void inet6_exit(void)
ipv6_sysctl_unregister
();
ipv6_sysctl_unregister
();
#endif
#endif
cleanup_ipv6_mibs
();
cleanup_ipv6_mibs
();
kmem_cache_destroy
(
tcp6_sk_cachep
);
kmem_cache_destroy
(
udp6_sk_cachep
);
kmem_cache_destroy
(
raw6_sk_cachep
);
}
}
module_exit
(
inet6_exit
);
module_exit
(
inet6_exit
);
#endif
/* MODULE */
#endif
/* MODULE */
net/ipv6/ip6_fib.c
View file @
992c0e15
...
@@ -1227,7 +1227,6 @@ void fib6_run_gc(unsigned long dummy)
...
@@ -1227,7 +1227,6 @@ void fib6_run_gc(unsigned long dummy)
void
__init
fib6_init
(
void
)
void
__init
fib6_init
(
void
)
{
{
if
(
!
fib6_node_kmem
)
fib6_node_kmem
=
kmem_cache_create
(
"fib6_nodes"
,
fib6_node_kmem
=
kmem_cache_create
(
"fib6_nodes"
,
sizeof
(
struct
fib6_node
),
sizeof
(
struct
fib6_node
),
0
,
SLAB_HWCACHE_ALIGN
,
0
,
SLAB_HWCACHE_ALIGN
,
...
@@ -1238,6 +1237,7 @@ void __init fib6_init(void)
...
@@ -1238,6 +1237,7 @@ void __init fib6_init(void)
void
fib6_gc_cleanup
(
void
)
void
fib6_gc_cleanup
(
void
)
{
{
del_timer
(
&
ip6_fib_timer
);
del_timer
(
&
ip6_fib_timer
);
kmem_cache_destroy
(
fib6_node_kmem
);
}
}
#endif
#endif
...
...
net/ipv6/route.c
View file @
992c0e15
...
@@ -1934,5 +1934,6 @@ void ip6_route_cleanup(void)
...
@@ -1934,5 +1934,6 @@ void ip6_route_cleanup(void)
xfrm6_fini
();
xfrm6_fini
();
rt6_ifdown
(
NULL
);
rt6_ifdown
(
NULL
);
fib6_gc_cleanup
();
fib6_gc_cleanup
();
kmem_cache_destroy
(
ip6_dst_ops
.
kmem_cachep
);
}
}
#endif
/* MODULE */
#endif
/* MODULE */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment