diff options
author | Carolina Jubran <cjubran@nvidia.com> | 2025-06-29 17:21:31 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-07-02 15:39:04 -0700 |
commit | 42401c42389622424f2973ec57414f033ae6be8f (patch) | |
tree | 227374c1eb3268a3cf0c246d75708abb8fce2e32 /scripts/lib/kdoc/kdoc_re.py | |
parent | 97b2409f28e0d69e5ab62df0798be8bd744a770f (diff) |
netlink: introduce type-checking attribute iteration for nlmsg
Add the nlmsg_for_each_attr_type() macro to simplify iteration over
attributes of a specific type in a Netlink message.
Convert existing users in vxlan and nfsd to use the new macro.
Suggested-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Carolina Jubran <cjubran@nvidia.com>
Signed-off-by: Mark Bloch <mbloch@nvidia.com>
Link: https://patch.msgid.link/20250629142138.361537-2-mbloch@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions