* Re: [IPV6]: Convert mibstats to use kmalloc_percpu
@ 2003-01-08 16:18 Arnd Bergmann
2003-01-09 14:27 ` Ravikiran G Thirumalai
0 siblings, 1 reply; 2+ messages in thread
From: Arnd Bergmann @ 2003-01-08 16:18 UTC (permalink / raw)
To: kiran, Linux Kernel; +Cc: Trivial Patches
Changeset 1.879.9.7 from kiran@in.ibm.com contains:
> @@ -765,6 +847,7 @@
> #ifdef CONFIG_SYSCTL
> ipv6_sysctl_unregister();
> #endif
> + cleanup_ipv6_mibs();
> }
> module_exit(inet6_exit);
> #endif /* MODULE */
This does not work when cleanup_ipv6_mibs() is marked __exit,
the fix below is needed to build a kernel with ipv6.
===== net/ipv6/af_inet6.c 1.18 vs edited =====
--- 1.18/net/ipv6/af_inet6.c Tue Jan 7 11:19:42 2003
+++ edited/net/ipv6/af_inet6.c Wed Jan 8 17:08:52 2003
@@ -684,7 +684,7 @@
}
-static void __exit cleanup_ipv6_mibs(void)
+static void cleanup_ipv6_mibs(void)
{
kfree_percpu(ipv6_statistics[0]);
kfree_percpu(ipv6_statistics[1]);
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [IPV6]: Convert mibstats to use kmalloc_percpu
2003-01-08 16:18 [IPV6]: Convert mibstats to use kmalloc_percpu Arnd Bergmann
@ 2003-01-09 14:27 ` Ravikiran G Thirumalai
0 siblings, 0 replies; 2+ messages in thread
From: Ravikiran G Thirumalai @ 2003-01-09 14:27 UTC (permalink / raw)
To: arnd; +Cc: Linux Kernel, David S. Miller
> This does not work when cleanup_ipv6_mibs() is marked __exit,
> the fix below is needed to build a kernel with ipv6.
Yes, it should not have been marked __exit.
Thanks for the patch
Dave, Plase apply.
Thanks,
Kiran
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-01-09 14:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-08 16:18 [IPV6]: Convert mibstats to use kmalloc_percpu Arnd Bergmann
2003-01-09 14:27 ` Ravikiran G Thirumalai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox