Subject: Re: [PATCH 7/7] netlink: Get rid of obsolete rtnetlink macros

From: Stephen Hemminger <[email-masked]>
Date: Wed, 27 Jun 2012 15:31:45 -0700

On Wed, 27 Jun 2012 15:04:35 -0700 (PDT)
David Miller <[email-masked]> wrote:

> From: Stephen Hemminger <[email-masked]>
> Date: Wed, 27 Jun 2012 08:35:32 -0700
> 
> > On Wed, 27 Jun 2012 11:36:16 +0200
> > Thomas Graf <[email-masked]> wrote:
> > 
> >> Removes all RTA_GET*() and RTA_PUT*() variations, as well as the
> >> the unused rtattr_strcmp(). Get rid of rtm_get_table() by moving
> >> it to its only user decnet.
> >> 
> >> Signed-off-by: Thomas Graf <[email-masked]>
> >> ---
> > 
> > Nack. The RTA_ macros are exported to user space through kernel
> > headers process. If you do this it will break iproute2 build.
> > 
> 
> They are protected by __KERNEL__, what are you talking about?

Never mind, there are copies in other places in iproute

I plan to get rid of the macro versions of this stuff.
It is a nuisance in iproute for the same reason as the kernel.