[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170804223449.GD28459@lakka.kapsi.fi>
Date: Sat, 5 Aug 2017 01:34:49 +0300
From: Mikko Rapeli <mikko.rapeli@....fi>
To: "Dmitry V. Levin" <ldv@...linux.org>
Cc: netdev@...r.kernel.org, Pavel Emelyanov <xemul@...tuozzo.com>
Subject: Re: uapi: MAX_ADDR_LEN vs. numeric 32
On Sat, Aug 05, 2017 at 01:25:19AM +0300, Dmitry V. Levin wrote:
>
> On Sat, Aug 05, 2017 at 12:33:25AM +0300, Mikko Rapeli wrote:
> >
> > I find using MAX_ADDR_LEN better than numeric 32, though I doubt this will
> > change any time soon. Would you mind if I change packet_diag.h and
> > if_link.h to use that instead and fix the userspace compilation
> > problems by including netdevice.h?
>
> The alternative fix, that is, to include <linux/netdevice.h>
> which pulls in other headers and a lot of definitions with them,
> has been mentioned in the discussion, too.
> We decided that the fix that was applied would be the least of all evils.
Ok, that's fine then. I'll drop my netdevice.h inclusion patch.
Thanks,
-Mikko
Powered by blists - more mailing lists