]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'netlink-support-reporting-missing-attributes'
authorPaolo Abeni <pabeni@redhat.com>
Tue, 30 Aug 2022 10:20:47 +0000 (12:20 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 30 Aug 2022 10:22:26 +0000 (12:22 +0200)
commit1d6f7242c17ea9bbd1fa6c13552dba36fa0c7bfb
tree538e3562c5ab93d0c5b94c86a7b9bb5477fa7013
parent313f4893ef1de55717264ba8ec16536d8be6ebe6
parentf0367c4a3bfda6ee4ee841502478d252f284ac7e
Merge branch 'netlink-support-reporting-missing-attributes'

Jakub Kicinski says:

====================
netlink: support reporting missing attributes

This series adds support for reporting missing attributes
in a structured way. We communicate the type of the missing
attribute and if it was missing inside a nest the offset
of that nest.

Example of (YAML-based) user space reporting ethtool header
missing:

 Kernel error: missing attribute: .header

I was tempted to integrate the check with the policy
but it seems tricky without doing a full scan, and there
may be a ton of attrs in the policy. So leaving that
for later.
====================

Link: https://lore.kernel.org/r/20220826030935.2165661-1-kuba@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>