lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160321.150427.643988574824179278.davem@davemloft.net>
Date:	Mon, 21 Mar 2016 15:04:27 -0400 (EDT)
From:	David Miller <davem@...emloft.net>
To:	jiri@...nulli.us
Cc:	roopa@...ulusnetworks.com, netdev@...r.kernel.org, jhs@...atatu.com
Subject: Re: [PATCH net-next 1/2] rtnetlink: add new RTM_GETSTATS message
 to dump link stats

From: Jiri Pirko <jiri@...nulli.us>
Date: Tue, 15 Mar 2016 09:24:17 +0100

> Tue, Mar 15, 2016 at 09:08:44AM CET, roopa@...ulusnetworks.com wrote:
>>Apart from the usability concern i have described earlier, this just seems an overkill ...having to redefine every attribute.
> 
> I don't hear the usability concern. User knows how to compose/parse
> attrs, no problem there.

But if we compartmentalize the most common use case into the header
itself, then the user doesn't even have to deal with attributes at
all.

This is what we've (intelligently, not stupidly) done in the past.

When we build a new facility, we put the most fundamental elements
into the message header structure.

There is nothing wrong with this at all.

If we run out of bits for the filter mask, we can (intelligently, not
stupidly) add a new attribute for that.

This is nothing in the realm of "good netlink design" that says that
we should use attributes for everything.  In fact I would say that
netlink attribute diahrrea should be avoided.

Therefore I am more than happy to see the filter mask stay in the
message header, and I will apply changes from Roopa which implement
it this way.

I've read your arguments, I understand your position and your
reasoning, but I simply disagree with you.

Thanks.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ