netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Carlos O'Donell" <carlos@redhat.com>
To: Mike Frysinger <vapier@gentoo.org>
Cc: libc-alpha@sourceware.org, Cong Wang <amwang@redhat.com>,
	netdev@vger.kernel.org, "David S. Miller" <davem@davemloft.net>,
	Thomas Backlund <tmb@mageia.org>,
	YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Subject: Re: [GLIBC Patch v2] inet: avoid redefinition of some structs in kernel
Date: Fri, 06 Sep 2013 00:52:01 -0400	[thread overview]
Message-ID: <52295F71.50401@redhat.com> (raw)
In-Reply-To: <201308260126.06626.vapier@gentoo.org>

On 08/26/2013 01:26 AM, Mike Frysinger wrote:
> On Thursday 15 August 2013 05:28:11 Cong Wang wrote:
>> From: Carlos O'Donell <carlos@redhat.com>
>>
>> - Synchronize linux's `include/uapi/linux/in6.h'
>>   with glibc's `inet/netinet/in.h'.
>> - Synchronize glibc's `inet/netinet/in.h with linux's
>>   `include/uapi/linux/in6.h'.
>> - Allow including the headers in either other.
>> - First header included defines the structures and macros.
>>
>> Notes:
>> - You want netinet/in.h to include bits/in.h as early as possible,
>>   but it needs in_addr so define in_addr early.
>> - You want bits/in.h included as early as possible so you can use
>>   the linux specific code to define __USE_KERNEL_DEFS based on
>>   the _UAPI_* macro definition and use those to cull in.h.
>> - glibc was missing IPPROTO_MH, added here.
> 
> can we get something better documented here in a central location ?  having 
> the names laid out in a git commit message and in a few leaf headers does not 
> lend itself to being easily discoverable.

Care to suggest something?

Cheers,
Carlos.

  reply	other threads:[~2013-09-06  4:52 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-15  9:28 [Patch net-next v2] net: sync some IP headers with glibc Cong Wang
2013-08-15  9:28 ` [GLIBC Patch v2] inet: avoid redefinition of some structs in kernel Cong Wang
2013-08-16 15:15   ` Carlos O'Donell
2013-08-16 15:32   ` Andreas Jaeger
2013-08-16 15:44     ` Carlos O'Donell
2013-08-16 15:47   ` Carlos O'Donell
2013-08-19  1:20     ` Cong Wang
2013-08-19 18:11       ` Carlos O'Donell
2013-08-26  5:26   ` Mike Frysinger
2013-09-06  4:52     ` Carlos O'Donell [this message]
2013-09-04 17:13 ` [Patch net-next v2] net: sync some IP headers with glibc David Miller
2013-09-06  5:19   ` Carlos O'Donell

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=52295F71.50401@redhat.com \
    --to=carlos@redhat.com \
    --cc=amwang@redhat.com \
    --cc=davem@davemloft.net \
    --cc=libc-alpha@sourceware.org \
    --cc=netdev@vger.kernel.org \
    --cc=tmb@mageia.org \
    --cc=vapier@gentoo.org \
    --cc=yoshfuji@linux-ipv6.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 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).