From: Arnd Bergmann <arndb@de.ibm.com>
To: kiran@in.ibm.com, Linux Kernel <linux-kernel@vger.kernel.org>
Cc: Trivial Patches <trivial@rustcorp.com.au>
Subject: Re: [IPV6]: Convert mibstats to use kmalloc_percpu
Date: Wed, 8 Jan 2003 17:18:37 +0100 [thread overview]
Message-ID: <200301081718.37263.arndb@de.ibm.com> (raw)
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]);
next reply other threads:[~2003-01-08 16:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-08 16:18 Arnd Bergmann [this message]
2003-01-09 14:27 ` [IPV6]: Convert mibstats to use kmalloc_percpu Ravikiran G Thirumalai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200301081718.37263.arndb@de.ibm.com \
--to=arndb@de.ibm.com \
--cc=arnd@bergmann-dalldorf.de \
--cc=kiran@in.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=trivial@rustcorp.com.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox