[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181002183018.65c41753@redhat.com>
Date: Tue, 2 Oct 2018 18:30:18 +0200
From: Jiri Benc <jbenc@...hat.com>
To: David Ahern <dsahern@...il.com>
Cc: Christian Brauner <christian@...uner.io>,
David Ahern <dsahern@...nel.org>, netdev@...r.kernel.org,
davem@...emloft.net, stephen@...workplumber.org
Subject: Re: [PATCH RFC v2 net-next 03/25] netlink: introduce
NLM_F_DUMP_PROPER_HDR flag
On Tue, 2 Oct 2018 08:57:24 -0600, David Ahern wrote:
> You can when you introduce a new option or a new flag that is required
> to get new behavior like kernel side filtering.
Yes. That was what I tried with the patchset a few years back. It would
be nice to revive the effort.
> I chose a netlink flag for consistency with NLM_F_DUMP_INTR and
> NLM_F_DUMP_FILTERED. Both are netlink flags. This patch set fixes only
> what is broken -- dumps.
When we're introducing better input checking in netlink (which is a
good thing!), it would be good to do it consistently and have it
generic across all operations.
Jiri
Powered by blists - more mailing lists