From: Simon Horman <horms@verge.net.au>
To: David Miller <davem@davemloft.net>
Cc: lvs-devel@vger.kernel.org, netdev@vger.kernel.org,
juliusv@google.com, kaber@trash.net, vbusam@google.com
Subject: Re: [PATCH] IPVS: Move userspace definitions to include/linux/ip_vs.h
Date: Thu, 24 Jul 2008 10:20:59 +1000 [thread overview]
Message-ID: <20080724002057.GA3032@verge.net.au> (raw)
In-Reply-To: <20080723.164215.101337333.davem@davemloft.net>
On Wed, Jul 23, 2008 at 04:42:15PM -0700, David Miller wrote:
> From: Simon Horman <horms@verge.net.au>
> Date: Tue, 22 Jul 2008 10:37:57 +1000
>
> > From: Julius Volz <juliusv@google.com>
> >
> > Current versions of ipvsadm include "/usr/src/linux/include/net/ip_vs.h"
> > directly. This file also contains kernel-only definitions. Normally, public
> > definitions should live in include/linux, so this patch moves the
> > definitions shared with userspace to a new file, "include/linux/ip_vs.h".
> >
> > To make old ipvsadms still compile with this, the old header file includes
> > the new one.
> >
> > The motivation for this cleanup is the planned Netlink interface for IPVS.
> >
> > Signed-off-by: Julius Volz <juliusv@google.com>
> > Acked-by: Simon Horman <horms@verge.net.au>
>
> Userland exported headers need to have an entry in include/linux/Kbuild
>
> Since this linux/ip_vs.h file is new, a new entry needs to be added there.
Thanks, I wasn't aware of that.
Julius, I think this is the bit we are missing:
Index: net-next-2.6/include/linux/Kbuild
===================================================================
--- net-next-2.6.orig/include/linux/Kbuild 2008-07-24 10:15:52.000000000 +1000
+++ net-next-2.6/include/linux/Kbuild 2008-07-24 10:19:08.000000000 +1000
@@ -97,6 +97,7 @@ header-y += ioctl.h
header-y += ip6_tunnel.h
header-y += ipmi_msgdefs.h
header-y += ipsec.h
+header-y += ip_vs.h
header-y += ipx.h
header-y += irda.h
header-y += iso_fs.h
next prev parent reply other threads:[~2008-07-24 0:21 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-22 0:37 [PATCH] IPVS: Move userspace definitions to include/linux/ip_vs.h Simon Horman
2008-07-23 23:42 ` David Miller
2008-07-24 0:20 ` Simon Horman [this message]
2008-07-24 10:09 ` Julius Volz
-- strict thread matches above, loose matches on Subject: below --
2008-07-24 10:14 Julius Volz
2008-07-24 11:14 ` Simon Horman
2008-07-24 11:22 ` Patrick McHardy
2008-07-24 11:34 ` Julius Volz
2008-07-24 11:40 ` Patrick McHardy
2008-07-24 11:46 ` Julius Volz
2008-07-24 11:58 ` Julius Volz
2008-07-25 0:22 ` Simon Horman
2008-07-31 2:09 ` Simon Horman
2008-08-01 3:45 ` David Miller
2008-07-25 0:18 ` Simon Horman
2008-07-08 14:29 Julius Volz
2008-07-09 1:11 ` Simon Horman
2008-07-09 11:24 ` Julius Volz
2008-07-09 12:20 ` Simon Horman
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=20080724002057.GA3032@verge.net.au \
--to=horms@verge.net.au \
--cc=davem@davemloft.net \
--cc=juliusv@google.com \
--cc=kaber@trash.net \
--cc=lvs-devel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=vbusam@google.com \
/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;
as well as URLs for NNTP newsgroup(s).