mirror of
https://github.com/torvalds/linux.git
synced 2024-12-02 09:01:34 +00:00
690252f19f
There is currently no way to report via extack in a structured way that an attribute is missing. This leads to families resorting to string messages. Add a pair of attributes - @offset and @type for machine-readable way of reporting missing attributes. The @offset points to the nest which should have contained the attribute, @type is the expected nla_type. The offset will be skipped if the attribute is missing at the message level rather than inside a nest. User space should be able to figure out which attribute enum (AKA attribute space AKA attribute set) the nest pointed to by @offset is using. Reviewed-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Paolo Abeni <pabeni@redhat.com> |
||
---|---|---|
.. | ||
accelerators | ||
ebpf | ||
ioctl | ||
media | ||
netlink | ||
futex2.rst | ||
index.rst | ||
iommu.rst | ||
landlock.rst | ||
no_new_privs.rst | ||
seccomp_filter.rst | ||
spec_ctrl.rst | ||
sysfs-platform_profile.rst | ||
unshare.rst | ||
vduse.rst |