[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <9d6372e5-66cd-6313-5302-5306a4cc8686@gmail.com>
Date: Mon, 24 Aug 2020 10:54:50 -0600
From: David Ahern <dsahern@...il.com>
To: Johannes Berg <johannes@...solutions.net>, netdev@...r.kernel.org
Cc: Stephen Hemminger <stephen@...workplumber.org>
Subject: Re: [PATCH 2/2] genl: ctrl: support dumping netlink policy
On 8/24/20 1:54 AM, Johannes Berg wrote:
> Arguably, pretty much all of the code here should go into libnetlink
> then, since the kernel facility was expressly written in a way that
> would allow dumping out arbitrary (not just generic netlink) policies,
> just needs wiring up in the appropriate netlink family (or perhaps some
> additional "policy netlink" family?)
good point.
>
> I can make that change, but I sort of assumed it'd be nicer to do that
> when someone else actually picked it up.
I think it would be better to put this into libnetlink from the start.
Powered by blists - more mailing lists