On Thu, 2019-05-02 at 12:48 +0000, Michal Kubecek wrote: > The check that attribute type is within 0...maxtype range in > __nla_validate_parse() sets only error message but not bad_attr in extack. > Set also bad_attr to tell userspace which attribute failed validation.
Good catch, we actually do have an attribute in this case. Reviewed-by: Johannes Berg <johan...@sipsolutions.net> johannes