diff options
author | Petr Machata <petrm@nvidia.com> | 2024-03-06 15:49:15 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-03-08 13:35:46 +0300 |
commit | 2118f9390d83cf942de8b34faf3d35b54f9f4eee (patch) | |
tree | d3d6ddc57d9f3045224f2e8d82949a7a6fe13a99 /CREDITS | |
parent | 3b43f19d065d2e6669209f991bbf1522b351d0c4 (diff) | |
download | linux-2118f9390d83cf942de8b34faf3d35b54f9f4eee.tar.xz |
net: nexthop: Adjust netlink policy parsing for a new attribute
A following patch will introduce a new attribute, op-specific flags to
adjust the behavior of an operation. Different operations will recognize
different flags.
- To make the differentiation possible, stop sharing the policies for get
and del operations.
- To allow querying for presence of the attribute, have all the attribute
arrays sized to NHA_MAX, regardless of what is permitted by policy, and
pass the corresponding value to nlmsg_parse() as well.
Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions