Re: [PATCH net-next v2 3/3] netlink: add validation of NLA_F_NESTED flag

From: David Ahern
Date: Wed Jul 24 2019 - 22:46:29 EST


On 7/23/19 1:57 AM, Thomas Haller wrote:
> Does this flag and strict validation really provide any value? Commonly a netlink message
> is a plain TLV blob, and the meaning depends entirely on the policy.

Strict checking enables kernel side filtering and other features that
require passing attributes as part of the dump request - like address
dumps in a specific namespace.