[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20151130092051.0feb5fe0@xeon-e3>
Date: Mon, 30 Nov 2015 09:20:51 -0800
From: Stephen Hemminger <shemming@...cade.com>
To: Phil Sutter <phil@....cc>
CC: <netdev@...r.kernel.org>
Subject: Re: [iproute PATCH RFC] libnetlink: introduce DECLARE_NLREQ
On Mon, 30 Nov 2015 16:47:25 +0100
Phil Sutter <phil@....cc> wrote:
> libmnl looks nice and simple (unlike libnl I was initially looking at by
> accident). Now how to pull this off:
>
> I don't think mandatorily depending on libmnl will be acceptable, do
> you? So I can imagine two ways to do this:
Having libmnl be mandatory is fine, but please put in net-next.
Every distro has libmnl and as long as it is documented not a big deal.
> A) Have a libmnl version of lib/libnetlink.c which is used instead of
> the old one if libmnl is present.
>
> B) Pull a copy of libmnl into iproute2 sources so it's always available
> (as fallback) and make it replace lib/libnetlink.c. This sounds worse
> than it is, using git-subtree allows to do this without imposing user
> knowledge about it (like git-submodule does).
Just incrementally change code to use libmnl instead of libnetlink.
Start with simple stuff.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists