From: Fengguang Wu <wfg@linux.intel.com>
To: David Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org, gaofeng@cn.fujitsu.com,
containers@lists.linux-foundation.org
Subject: Re: [PATCH] inet: Initialize per-netns inetpeer roots in net/ipv{4,6}/route.c
Date: Sun, 10 Jun 2012 10:08:01 +0800 [thread overview]
Message-ID: <20120610020801.GA9293@localhost> (raw)
In-Reply-To: <20120610015832.GA9175@localhost>
On Sun, Jun 10, 2012 at 09:58:32AM +0800, Fengguang Wu wrote:
> On Sat, Jun 09, 2012 at 04:32:02PM -0700, David Miller wrote:
> >
> > Instead of net/ipv4/inetpeer.c
> >
> > Signed-off-by: David S. Miller <davem@davemloft.net>
> > ---
> > include/net/inetpeer.h | 9 +++++++
> > net/ipv4/inetpeer.c | 64 ++++++++++++------------------------------------
> > net/ipv4/route.c | 25 +++++++++++++++++++
> > net/ipv6/route.c | 34 ++++++++++++++++++++++++-
> > 4 files changed, 83 insertions(+), 49 deletions(-)
>
> Dave,
>
> It triggers some warnings:
>
> WARNING: net/ipv6/ipv6.o(.text+0x1049c): Section mismatch in reference from the function ip6_route_cleanup() to the variable .init.data:ipv6_inetpeer_ops
> WARNING: net/ipv6/ipv6.o(.text+0x1049c): Section mismatch in reference from the function ip6_route_cleanup() to the variable .init.data:ipv6_inetpeer_ops
> WARNING: net/ipv6/built-in.o(.text+0x1049c): Section mismatch in reference from the function ip6_route_cleanup() to the variable .init.data:ipv6_inetpeer_ops
> WARNING: net/ipv6/built-in.o(.text+0x1049c): Section mismatch in reference from the function ip6_route_cleanup() to the variable .init.data:ipv6_inetpeer_ops
> WARNING: net/built-in.o(.text+0x92658): Section mismatch in reference from the function ip6_route_cleanup() to the variable .init.data:ipv6_inetpeer_ops
> WARNING: net/built-in.o(.text+0x92658): Section mismatch in reference from the function ip6_route_cleanup() to the variable .init.data:ipv6_inetpeer_ops
> WARNING: vmlinux.o(.text+0x710988): Section mismatch in reference from the function ip6_route_cleanup() to the variable .init.data:ipv6_inetpeer_ops
> WARNING: vmlinux.o(.text+0x710988): Section mismatch in reference from the function ip6_route_cleanup() to the variable .init.data:ipv6_inetpeer_ops
And in another config, an old error still triggers:
net/ipv4/inetpeer.c: In function ‘family_to_base’:
net/ipv4/inetpeer.c:397:50: error: ‘struct net’ has no member named ‘ipv6’
net/ipv4/inetpeer.c:398:1: warning: control reaches end of non-void function [-Wreturn-type]
I'm building this patch on top of net-next master.
Thanks,
Fengguang
next prev parent reply other threads:[~2012-06-10 2:08 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-09 23:32 [PATCH] inet: Initialize per-netns inetpeer roots in net/ipv{4,6}/route.c David Miller
[not found] ` <20120609.163202.516027044484907548.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
2012-06-10 1:58 ` Fengguang Wu
2012-06-10 1:58 ` Fengguang Wu
2012-06-10 2:04 ` David Miller
[not found] ` <20120609.190451.182034193302304295.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
2012-06-10 3:16 ` Fengguang Wu
2012-06-10 3:16 ` Fengguang Wu
2012-06-10 4:21 ` David Miller
2012-06-10 4:21 ` David Miller
[not found] ` <20120609.212147.1738198233131370927.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
2012-06-10 4:43 ` Fengguang Wu
2012-06-10 4:43 ` Fengguang Wu
2012-06-10 4:49 ` Fengguang Wu
2012-06-10 4:49 ` Fengguang Wu
2012-06-10 5:04 ` David Miller
2012-06-10 5:04 ` David Miller
[not found] ` <20120609.220421.2043389435765629622.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
2012-06-10 6:47 ` Fengguang Wu
2012-06-10 6:47 ` Fengguang Wu
2012-06-10 5:03 ` David Miller
2012-06-10 5:03 ` David Miller
2012-06-10 2:04 ` David Miller
2012-06-10 2:08 ` Fengguang Wu [this message]
2012-06-10 2:09 ` David Miller
[not found] ` <20120609.190929.1165462964087672866.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
2012-06-10 2:18 ` David Miller
[not found] ` <20120609.221801.2226110181753212240.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
2012-06-10 2:37 ` Fengguang Wu
2012-06-10 10:16 ` Fengguang Wu
2012-06-11 0:27 ` [PATCH] inet: Initialize per-netns inetpeer roots in net/ipv{4, 6}/route.c Gao feng
[not found] ` <4FD53B74.1050409-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2012-06-11 1:44 ` [PATCH] inet: Initialize per-netns inetpeer roots in net/ipv{4,6}/route.c Fengguang Wu
2012-06-11 3:03 ` David Miller
2012-06-10 5:14 ` [PATCH] inet: Initialize per-netns inetpeer roots in net/ipv{4, 6}/route.c Gao feng
2012-06-10 2:08 ` [PATCH] inet: Initialize per-netns inetpeer roots in net/ipv{4,6}/route.c Fengguang Wu
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=20120610020801.GA9293@localhost \
--to=wfg@linux.intel.com \
--cc=containers@lists.linux-foundation.org \
--cc=davem@davemloft.net \
--cc=gaofeng@cn.fujitsu.com \
--cc=netdev@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.